forked from GNUsocial/gnu-social
Wrong call signature used for Event::handle
Call needs 2nd parameter to be array.
This commit is contained in:
parent
5f1fea1488
commit
e9f2a1847d
@ -179,7 +179,7 @@ class ProfilecompletionAction extends Action
|
||||
else {
|
||||
$cnt = $profile->find();
|
||||
}
|
||||
Event::handle('EndProfileCompletionSearch', $this, $profile, $search_engine);
|
||||
Event::handle('EndProfileCompletionSearch', array($this, &$profile, $search_engine));
|
||||
}
|
||||
|
||||
while ($profile->fetch()) {
|
||||
|
Loading…
Reference in New Issue
Block a user