Skip to content

Commit

Permalink
Merge pull request #116 from hackel/patch-1
Browse files Browse the repository at this point in the history
Cast records_per_page as int
  • Loading branch information
Nayjest committed Jan 28, 2016
2 parents f99001d + c40220f commit 409d4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/RecordsPerPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getValue()
if ($from_input === null) {
return $this->grid->getConfig()->getPageSize();
} else {
return $from_input;
return (int) $from_input;
}
}

Expand Down

0 comments on commit 409d4d1

Please sign in to comment.