From: Marcel van der Boom Date: Mon, 23 Sep 2013 10:32:30 +0000 (+0200) Subject: Wrong call signature used for Event::handle X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e9f2a1847d92f8fb4f3d4383d0d0f06d12592a46;p=quix0rs-gnu-social.git Wrong call signature used for Event::handle Call needs 2nd parameter to be array. --- diff --git a/actions/profilecompletion.php b/actions/profilecompletion.php index 9f3f2c9acc..6bd8330e01 100644 --- a/actions/profilecompletion.php +++ b/actions/profilecompletion.php @@ -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()) {