diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 816cef7a0..33ed7e04d 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -369,7 +369,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable { break; case 'limit': case 'offset': - if($args[0] == null) + if($args[0] === null) $args[0] = false; $this->parts[$name] = $args[0];