Wrong call signature used for Event::handle

Call needs 2nd parameter to be array.
This commit is contained in:
Marcel van der Boom 2013-09-23 12:32:30 +02:00 committed by Mikael Nordfeldth
parent 5f1fea1488
commit e9f2a1847d

View File

@ -179,7 +179,7 @@ class ProfilecompletionAction extends Action
else { else {
$cnt = $profile->find(); $cnt = $profile->find();
} }
Event::handle('EndProfileCompletionSearch', $this, $profile, $search_engine); Event::handle('EndProfileCompletionSearch', array($this, &$profile, $search_engine));
} }
while ($profile->fetch()) { while ($profile->fetch()) {