1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

[DDC-792] Fixed issue with run-dql when using max result was triggering undefined method error.

This commit is contained in:
Guilherme Blanco 2010-09-15 14:29:55 -03:00
parent 4845745337
commit 2e3c1506fb

View file

@ -114,7 +114,7 @@ EOT
throw new \LogicException("Option 'max-result' must contains an integer value");
}
$query->setMaxResult((int) $maxResult);
$query->setMaxResults((int) $maxResult);
}
$resultSet = $query->execute(array(), constant($hydrationMode));