From e9f2a1847d92f8fb4f3d4383d0d0f06d12592a46 Mon Sep 17 00:00:00 2001 From: Marcel van der Boom Date: Mon, 23 Sep 2013 12:32:30 +0200 Subject: [PATCH] Wrong call signature used for Event::handle Call needs 2nd parameter to be array. --- actions/profilecompletion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {