From: mac65 Date: Mon, 22 Sep 2008 22:34:29 +0000 (-0400) Subject: Fix ticket 460 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0b1d201d7d2b9694a862e717c24054af8e6fd78;p=quix0rs-gnu-social.git 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 --- 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');