Fix ticket 460

The show action for the twitter user API was using subscribed instead of
subscriber to grab the friends_count.

darcs-hash:20080922223429-e558a-4b456954f475c022be288e85a186ffa8794fad03.gz
This commit is contained in:
mac65 2008-09-22 18:34:29 -04:00
parent 3017ad3f01
commit b0b1d201d7

View File

@ -89,7 +89,7 @@ class TwitapiusersAction extends TwitterapiAction {
$twitter_user['created_at'] = $this->date_twitter($profile->created); $twitter_user['created_at'] = $this->date_twitter($profile->created);
$subbed = DB_DataObject::factory('subscription'); $subbed = DB_DataObject::factory('subscription');
$subbed->subscribed = $profile->id; $subbed->subscriber = $profile->id;
$subbed_count = (int) $subbed->count() - 1; $subbed_count = (int) $subbed->count() - 1;
$notices = DB_DataObject::factory('notice'); $notices = DB_DataObject::factory('notice');