Proper false statement handling
This commit is contained in:
parent
b41714eec5
commit
3230021f7f
@ -796,6 +796,10 @@ class Doctrine_Hydrate implements Serializable
|
||||
$array = $driver->getElementCollection($componentName);
|
||||
$identifiable = array();
|
||||
|
||||
if ($stmt === false) {
|
||||
return $array;
|
||||
}
|
||||
|
||||
while ($data = $stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
$parse = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user