Commit e79f1c34 authored by romanb's avatar romanb

small improvement to Doctrine_Hydrate_Array::search()

parent ec292991
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment