From 25554aa0f763099d05d4f9abcabfb79fc740851b Mon Sep 17 00:00:00 2001 From: gnat Date: Tue, 21 Aug 2007 14:59:04 +0000 Subject: [PATCH] fixed a problem with undefined array keys when fetching in array mode with multi level joins --- lib/Doctrine/Hydrate/Array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }