parse error in retweet method

This commit is contained in:
Evan Prodromou 2009-12-14 15:49:19 -05:00
parent 9d2a605d0e
commit 1ace5c400e

View File

@ -80,7 +80,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
$this->user = $this->auth_user;
if ($this->user->id == $notice->profile_id) {
$this->clientError(_('Cannot repeat your own notice.'));
$this->clientError(_('Cannot repeat your own notice.'),
400, $this->format);
return false;
}