From b0b1d201d7d2b9694a862e717c24054af8e6fd78 Mon Sep 17 00:00:00 2001 From: mac65 Date: Mon, 22 Sep 2008 18:34:29 -0400 Subject: [PATCH] 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 --- actions/twitapiusers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php index 233de3c217..6dad538184 100644 --- a/actions/twitapiusers.php +++ b/actions/twitapiusers.php @@ -89,7 +89,7 @@ class TwitapiusersAction extends TwitterapiAction { $twitter_user['created_at'] = $this->date_twitter($profile->created); $subbed = DB_DataObject::factory('subscription'); - $subbed->subscribed = $profile->id; + $subbed->subscriber = $profile->id; $subbed_count = (int) $subbed->count() - 1; $notices = DB_DataObject::factory('notice');