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 128c881e2..9aa337485 100644
--- a/actions/apistatusesretweet.php
+++ b/actions/apistatusesretweet.php
@@ -79,7 +79,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
$this->user = $this->auth_user;
- if ($this->user->id == $notice->profile_id) {
+ if ($this->user->id == $this->original->profile_id) {
$this->clientError(_('Cannot repeat your own notice.'),
400, $this->format);
return false;