Fixed OFFSET 0 which was interpreted as null and then ignored in SQL-query, causing a SQL-exception
This commit is contained in:
parent
f3d21a7563
commit
219a2c2064
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue