This commit is contained in:
parent
3230021f7f
commit
c697f09f32
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user