small improvement to Doctrine_Hydrate_Array::search()
This commit is contained in:
parent
ec292991ce
commit
e79f1c34cf
@ -67,6 +67,7 @@ class Doctrine_Hydrate_Array
|
||||
foreach ($element as $k => $e) {
|
||||
if (isset($val[$k]) && $val[$k] !== $e) {
|
||||
$found = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($found) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user