summaryrefslogtreecommitdiff
path: root/actions/twittersettings.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-15 11:29:45 -0800
committerZach Copley <zach@controlyourself.ca>2009-01-15 11:29:45 -0800
commit3bb7ea79c023cc7260e456b6e1f17526494e5424 (patch)
treee3934344df537121806ee3cde7ccb6f42887bc8a /actions/twittersettings.php
parent125f05563b5c7bd5b74b1afbea3c0b663795bff5 (diff)
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.
Diffstat (limited to 'actions/twittersettings.php')
-rw-r--r--actions/twittersettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twittersettings.php b/actions/twittersettings.php
index 9e7e4cae8..62262e021 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;