Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicius73 committed Jan 30, 2016
1 parent 7ad7921 commit 209bf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function doQuery($query = null, $take = 15, $paginate = true)
return $query->paginate($take);
}

if ($take > 0 || false == $take) {
if ($take > 0 || false !== $take) {
$query->take($take);
}

Expand Down

0 comments on commit 209bf63

Please sign in to comment.