summaryrefslogtreecommitdiff
path: root/actions/subedit.php
diff options
context:
space:
mode:
authorRobin Millette <millette@plantard.controlezvous.ca>2009-01-23 01:22:25 +0000
committerRobin Millette <millette@plantard.controlezvous.ca>2009-01-23 01:22:25 +0000
commit56622ef804704c0f0e6064ed3113d2d767377201 (patch)
treed99fec8144b6420201193d65cd98a1a2cc80c9cb /actions/subedit.php
parentbee32a6cb07ac3df8fed81c53407332fd9c6121f (diff)
parent0711d45ef315e2349bb37f24b8a7cf85eafef96e (diff)
Merge branch 'master' of /var/www/trunk
Diffstat (limited to 'actions/subedit.php')
-rw-r--r--actions/subedit.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/actions/subedit.php b/actions/subedit.php
index e22384869..89081ffc7 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');