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.
This commit is contained in:
Zach Copley 2009-01-15 11:29:45 -08:00
parent 125f05563b
commit 3bb7ea79c0
1 changed files with 1 additions and 1 deletions

View 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;