]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter bridge: verify creds was taking user ID from the status instead
authorZach Copley <zach@controlyourself.ca>
Thu, 15 Jan 2009 19:29:45 +0000 (11:29 -0800)
committerZach Copley <zach@controlyourself.ca>
Thu, 15 Jan 2009 19:29:45 +0000 (11:29 -0800)
of the user object, and failing if user hadn't ever posted on Twitter.

actions/twittersettings.php

index 9e7e4cae89f2999985d3e31c5334cd08498763b5..62262e02110940d9bb9d1aa5e6b4d6e868188ae7 100644 (file)
@@ -354,7 +354,7 @@ class TwittersettingsAction extends SettingsAction
             return false;
         }
 
-         $twitter_id = $user->status->id;
+         $twitter_id = $user->id;
 
         if ($twitter_id) {
             return $twitter_id;