Skip to content

Commit

Permalink
bugfix offset dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
steefaan committed Dec 2, 2015
1 parent 46abd77 commit 6d87e89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Database/Query.php
Expand Up @@ -1177,6 +1177,7 @@ public function limit($num)
*/
public function offset($num)
{
$this->_dirty();
if ($num !== null && !is_object($num)) {
$num = (int)$num;
}
Expand Down

0 comments on commit 6d87e89

Please sign in to comment.