Commit c610ba0a authored by ppetermann's avatar ppetermann

corrected creation of Doctrine_Event object

to prevent unexpected behaviour during usage 
of preHydrate/postHydrate hooks.
parent 3cdaf71a
......@@ -1050,7 +1050,7 @@ class Doctrine_Hydrate extends Doctrine_Locator_Injectable implements Serializab
return $array;
}
$event = new Doctrine_Event(Doctrine_Event::HYDRATE, null);
$event = new Doctrine_Event(null, Doctrine_Event::HYDRATE, null);
// for every getRecordListener() there is a little bit
// logic behind it, hence calling it multiple times on
......
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