summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-23 00:11:05 -0800
committerZach Copley <zach@controlyourself.ca>2009-01-23 00:11:05 -0800
commit85321cede0abba7a5d08fad7fcb348d1bacc98b3 (patch)
tree4374eff62256b3d897947866fab9c38400506cce
parentaa100884fbfb7f14613f402b5eabdcd9637faf57 (diff)
Fix for Twitter bridge bug introduced by uiredesign merge
-rw-r--r--actions/twittersettings.php2
-rw-r--r--lib/twitter.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/twittersettings.php b/actions/twittersettings.php
index efc8215cd..0c109ab53 100644
--- a/actions/twittersettings.php
+++ b/actions/twittersettings.php
@@ -472,7 +472,7 @@ class TwittersettingsAction extends ConnectSettingsAction
function verifyCredentials($screen_name, $password)
{
- $uri = 'http://twitter.com/account/verifyCredentials.json';
+ $uri = 'http://twitter.com/account/verify_credentials.json';
$data = get_twitter_data($uri, $screen_name, $password);
diff --git a/lib/twitter.php b/lib/twitter.php
index 5eb15005a..197298549 100644
--- a/lib/twitter.php
+++ b/lib/twitter.php
@@ -42,7 +42,7 @@ function get_twitter_data($uri, $screen_name, $password)
$errmsg = curl_error($ch);
if ($errmsg) {
- common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $twit_user.",
+ common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $screen_name.",
__FILE__);
}