We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1ace5c40 authored by Evan Prodromou's avatar Evan Prodromou

parse error in retweet method

parent 9d2a605d
...@@ -80,7 +80,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction ...@@ -80,7 +80,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
$this->user = $this->auth_user; $this->user = $this->auth_user;
if ($this->user->id == $notice->profile_id) { if ($this->user->id == $notice->profile_id) {
$this->clientError(_('Cannot repeat your own notice.')); $this->clientError(_('Cannot repeat your own notice.'),
400, $this->format); 400, $this->format);
return false; return false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment