1
0
mirror of synced 2024-12-14 15:16:04 +03:00

fixed a problem with undefined array keys when fetching in array mode with multi level joins

This commit is contained in:
gnat 2007-08-21 14:59:04 +00:00
parent 70c94fae67
commit 25554aa0f7

View File

@ -65,7 +65,7 @@ class Doctrine_Hydrate_Array
foreach ($data as $key => $val) {
$found = true;
foreach ($element as $k => $e) {
if ($val[$k] !== $e) {
if (isset($val[$k]) && $val[$k] !== $e) {
$found = false;
}
}