From 3bb7ea79c023cc7260e456b6e1f17526494e5424 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 15 Jan 2009 11:29:45 -0800 Subject: [PATCH] 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. --- actions/twittersettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5