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()) {