diff --git a/lib/Doctrine/Query/Abstract.php b/lib/Doctrine/Query/Abstract.php index 011146397..b8217ef0a 100644 --- a/lib/Doctrine/Query/Abstract.php +++ b/lib/Doctrine/Query/Abstract.php @@ -1139,7 +1139,7 @@ abstract class Doctrine_Query_Abstract // if there's no params, return (else we'll get a WHERE IN (), invalid SQL) if (!count($params)) - return; + return $this; $a = array(); foreach ($params as $k => $value) {