diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-06-26 15:42:37 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-06-26 15:42:37 +0800 |
commit | 71dc910a53eb2aba509c418e7ac0f8e9b94cba9a (patch) | |
tree | bf7299e5e55e69dc859a50df563e8ae59b56d4b4 /actions/twitapifavorites.php | |
parent | 65f784120b45dc187e28313fa2c2dca2c976c150 (diff) | |
parent | 97ee517680979bf12e82eab99ecf943712fe97c9 (diff) |
Merge branch '0.8.x' into notice-search-no-results
Diffstat (limited to 'actions/twitapifavorites.php')
-rw-r--r-- | actions/twitapifavorites.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/actions/twitapifavorites.php b/actions/twitapifavorites.php index e40fea91a..8256668f3 100644 --- a/actions/twitapifavorites.php +++ b/actions/twitapifavorites.php @@ -61,7 +61,11 @@ class TwitapifavoritesAction extends TwitterapiAction $since_id = (int)$this->arg('since_id', 0); $since = $this->arg('since'); - $notice = $user->favoriteNotices(($page-1)*$count, $count); + if (!empty($this->auth_user) && $this->auth_user->id == $user->id) { + $notice = $user->favoriteNotices(($page-1)*$count, $count, true); + } else { + $notice = $user->favoriteNotices(($page-1)*$count, $count, false); + } switch($apidata['content-type']) { case 'xml': |