diff --git a/lib/Doctrine/Hydrate/Array.php b/lib/Doctrine/Hydrate/Array.php index 37c3d25e9..729da107e 100644 --- a/lib/Doctrine/Hydrate/Array.php +++ b/lib/Doctrine/Hydrate/Array.php @@ -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; } }