]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Wrong call signature used for Event::handle
authorMarcel van der Boom <marcel@hsdev.com>
Mon, 23 Sep 2013 10:32:30 +0000 (12:32 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Sep 2013 12:43:44 +0000 (14:43 +0200)
Call needs 2nd parameter to be array.

actions/profilecompletion.php

index 9f3f2c9accbf968d94d4d10f4c3f91463a74318b..6bd8330e011da3a2be70a91a20fad6c57d349d76 100644 (file)
@@ -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()) {