From: Zach Copley Date: Thu, 15 Jan 2009 19:29:45 +0000 (-0800) Subject: Twitter bridge: verify creds was taking user ID from the status instead X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3bb7ea79c023cc7260e456b6e1f17526494e5424;p=quix0rs-gnu-social.git Twitter bridge: verify creds was taking user ID from the status instead of the user object, and failing if user hadn't ever posted on Twitter. --- diff --git a/actions/twittersettings.php b/actions/twittersettings.php index 9e7e4cae89..62262e0211 100644 --- a/actions/twittersettings.php +++ b/actions/twittersettings.php @@ -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;