X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fprofilecompletion.php;h=b859ccc9439035cda96866dbff3b13ca321d213c;hb=915d329b5a17ac9c4e582ff55672037072f73c32;hp=045bf68a7fcbf2a01ae669af5c0bc1cdc7e2ad79;hpb=12588b1cf73fad7d0a76a29a46ec355150eaa54e;p=quix0rs-gnu-social.git diff --git a/actions/profilecompletion.php b/actions/profilecompletion.php index 045bf68a7f..b859ccc943 100644 --- a/actions/profilecompletion.php +++ b/actions/profilecompletion.php @@ -94,7 +94,7 @@ class ProfilecompletionAction extends Action } $id = $this->arg('peopletag_id'); - $this->peopletag = Profile_list::staticGet('id', $id); + $this->peopletag = Profile_list::getKV('id', $id); if (empty($this->peopletag)) { // TRANS: Client error displayed trying to reference a non-existing list. @@ -151,7 +151,7 @@ class ProfilecompletionAction extends Action } } $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } function getResults() @@ -179,8 +179,7 @@ class ProfilecompletionAction extends Action else { $cnt = $profile->find(); } - // @todo FIXME: Call-time pass-by-reference has been deprecated. - Event::handle('EndProfileCompletionSearch', $this, &$profile, $search_engine); + Event::handle('EndProfileCompletionSearch', array($this, &$profile, $search_engine)); } while ($profile->fetch()) {