1
0
mirror of synced 2025-01-18 06:21:40 +03:00

corrected creation of Doctrine_Event object

to prevent unexpected behaviour during usage 
of preHydrate/postHydrate hooks.
This commit is contained in:
ppetermann 2007-10-24 13:44:58 +00:00
parent 3cdaf71ad0
commit c610ba0ab2

View File

@ -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