X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fsubscribe.php;h=5b74c2503b098634695fd029b65f214012729a9f;hb=29d0871e5a5b2561387bcad40ef4644ee1c2be08;hp=ce1d367cf894fe01a009a23dfe62d82423cecb5a;hpb=8c710ad2c1b80544acccb515f7b601aadff2de16;p=quix0rs-gnu-social.git diff --git a/actions/subscribe.php b/actions/subscribe.php index ce1d367cf8..5b74c2503b 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -103,7 +103,7 @@ class SubscribeAction extends Action $other_id = $this->arg('subscribeto'); - $this->other = Profile::staticGet('id', $other_id); + $this->other = Profile::getKV('id', $other_id); if (empty($this->other)) { // TRANS: Client error displayed trying to subscribe to a non-existing profile. @@ -144,7 +144,7 @@ class SubscribeAction extends Action } $form->show(); $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } else { $url = common_local_url('subscriptions', array('nickname' => $this->user->nickname));