summaryrefslogtreecommitdiff
path: root/actions/apistatusesretweet.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apistatusesretweet.php')
-rw-r--r--actions/apistatusesretweet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apistatusesretweet.php b/actions/apistatusesretweet.php
index 85de79d5c..d9d4820c0 100644
--- a/actions/apistatusesretweet.php
+++ b/actions/apistatusesretweet.php
@@ -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;
}