diff options
author | Zach Copley <zach@status.net> | 2010-05-07 16:32:24 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-07 16:32:24 -0700 |
commit | 3c9686e80f50f24f302abf5dd27b74a44fa4ae56 (patch) | |
tree | 72b1a7e0c9a817b80110e49b99c79ed615f911ca /actions/apistatusesretweet.php | |
parent | d57e1deaec7406c63f70b8a5664746d18c1125ff (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; |