]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix ticket 460
authormac65 <mac65@mac65.com>
Mon, 22 Sep 2008 22:34:29 +0000 (18:34 -0400)
committermac65 <mac65@mac65.com>
Mon, 22 Sep 2008 22:34:29 +0000 (18:34 -0400)
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

index 233de3c217d790a7de1d350bc2d254e6e999f38d..6dad5381842cb2be001924d53cb26b1e9007bc0e 100644 (file)
@@ -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');