diff options
author | Zach Copley <zach@status.net> | 2010-05-07 16:32:24 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-08 00:07:42 +0000 |
commit | fba140f4e0246a244664f0c0fb2361b027508d35 (patch) | |
tree | 072e877e529eb05687300efc724d8fe44cc42ac4 /actions/apistatusesretweet.php | |
parent | 79153869505c9bfb41b7e49b757f233dc19530bb (diff) |
Fix for repeats from the API having null source attribution
Diffstat (limited to 'actions/apistatusesretweet.php')
-rw-r--r-- | actions/apistatusesretweet.php | 2 |
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; |