1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-05 23:35:11 +00:00
parent 3230021f7f
commit c697f09f32

View File

@ -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)) {