X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Funsubscribepeopletag.php;h=c739c6760c55caee3e8102f9a40b520d96262e2c;hb=4cfd0d24c109f6485df05d8687aeb80f0bf8834b;hp=bb53766cc1d6bafcb96ec2d99d028cd573f7b9ad;hpb=5e50acb23b993e5f8d481ff77b7e13760f123ebe;p=quix0rs-gnu-social.git diff --git a/actions/unsubscribepeopletag.php b/actions/unsubscribepeopletag.php index bb53766cc1..c739c6760c 100644 --- a/actions/unsubscribepeopletag.php +++ b/actions/unsubscribepeopletag.php @@ -84,7 +84,7 @@ class UnsubscribepeopletagAction 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); @@ -97,7 +97,7 @@ class UnsubscribepeopletagAction extends Action return false; } - $this->tagger = Profile::staticGet('id', $this->peopletag->tagger); + $this->tagger = Profile::getKV('id', $this->peopletag->tagger); return true; } @@ -133,7 +133,7 @@ class UnsubscribepeopletagAction extends Action $lf = new SubscribePeopletagForm($this, $this->peopletag); $lf->show(); $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } else { if (common_get_returnto()) { common_redirect(common_get_returnto(), 303);