]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Some whitespace edits in subedit, and tested that it works
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 01:04:13 +0000 (02:04 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 01:04:13 +0000 (02:04 +0100)
actions/subedit.php

index e22384869b2da242cfa1dae725ba435545563c33..89081ffc76984eb7da9a8f51d941ccbc9bfd1b43 100644 (file)
@@ -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');