From: Evan Prodromou Date: Fri, 23 Jan 2009 01:04:13 +0000 (+0100) Subject: Some whitespace edits in subedit, and tested that it works X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7bbbd433e81ff481d8d9acac40fd50b5118cf05f;p=quix0rs-gnu-social.git Some whitespace edits in subedit, and tested that it works --- diff --git a/actions/subedit.php b/actions/subedit.php index e22384869b..89081ffc76 100644 --- a/actions/subedit.php +++ b/actions/subedit.php @@ -21,12 +21,10 @@ if (!defined('LACONICA')) { exit(1); } class SubeditAction extends Action { - var $profile = null; function prepare($args) { - parent::prepare($args); if (!common_logged_in()) { @@ -37,8 +35,9 @@ class SubeditAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { - $this->clientError(_('There was a problem with your session token. Try again, please.')); - return; + $this->clientError(_('There was a problem with your session token. '. + 'Try again, please.')); + return false; } $id = $this->trimmed('profile');