Commit c697f09f authored by zYne's avatar zYne

--no commit message

--no commit message
parent 3230021f
......@@ -796,8 +796,8 @@ class Doctrine_Hydrate implements Serializable
$array = $driver->getElementCollection($componentName);
$identifiable = array();
if ($stmt === false) {
return $array;
if ($stmt === false || $stmt === 0) {
return $array;
}
while ($data = $stmt->fetch(PDO::FETCH_ASSOC)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment