parse error in retweet method
This commit is contained in:
parent
9d2a605d0e
commit
1ace5c400e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user