corrected creation of Doctrine_Event object
to prevent unexpected behaviour during usage of preHydrate/postHydrate hooks.
This commit is contained in:
parent
3cdaf71ad0
commit
c610ba0ab2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user