$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.
}
$form->show();
$this->elementEnd('body');
- $this->elementEnd('html');
+ $this->endHTML();
} else {
$url = common_local_url('subscriptions',
array('nickname' => $this->user->nickname));