X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fsubscribepeopletag.php;h=1bb14420ff66b8186ce824fc7c8dc297d0736778;hb=29d0871e5a5b2561387bcad40ef4644ee1c2be08;hp=dee0384c5d04040004887ab948ec5d1067e7667d;hpb=9948523c33ea0d02681ff1e0cd4fcb839dc9df96;p=quix0rs-gnu-social.git diff --git a/actions/subscribepeopletag.php b/actions/subscribepeopletag.php index dee0384c5d..1bb14420ff 100644 --- a/actions/subscribepeopletag.php +++ b/actions/subscribepeopletag.php @@ -83,7 +83,7 @@ class SubscribepeopletagAction extends Action $id = intval($this->arg('id')); if ($id) { - $this->peopletag = Profile_list::staticGet('id', $id); + $this->peopletag = Profile_list::getKV('id', $id); } else { // TRANS: Client error displayed when trying to perform an action without providing an ID. $this->clientError(_('No ID given.'), 404); @@ -96,7 +96,7 @@ class SubscribepeopletagAction extends Action return false; } - $this->tagger = Profile::staticGet('id', $this->peopletag->tagger); + $this->tagger = Profile::getKV('id', $this->peopletag->tagger); return true; } @@ -140,7 +140,7 @@ class SubscribepeopletagAction extends Action $lf = new UnsubscribePeopletagForm($this, $this->peopletag); $lf->show(); $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } else { common_redirect(common_local_url('peopletagsubscribers', array('tagger' => $this->tagger->nickname,