small improvement to Doctrine_Hydrate_Array::search()
This commit is contained in:
parent
ec292991ce
commit
e79f1c34cf
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue