fixed a problem with undefined array keys when fetching in array mode with multi level joins
This commit is contained in:
parent
70c94fae67
commit
25554aa0f7
@ -65,7 +65,7 @@ class Doctrine_Hydrate_Array
|
|||||||
foreach ($data as $key => $val) {
|
foreach ($data as $key => $val) {
|
||||||
$found = true;
|
$found = true;
|
||||||
foreach ($element as $k => $e) {
|
foreach ($element as $k => $e) {
|
||||||
if ($val[$k] !== $e) {
|
if (isset($val[$k]) && $val[$k] !== $e) {
|
||||||
$found = false;
|
$found = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user