From 910a36f4a47c583ced162715dc370b21d6644321 Mon Sep 17 00:00:00 2001 From: Michael Dowling Date: Sun, 7 Apr 2013 12:46:19 -0700 Subject: [PATCH] Loosening check for oauth_token. Closes #287. --- src/Guzzle/Plugin/Oauth/OauthPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Guzzle/Plugin/Oauth/OauthPlugin.php b/src/Guzzle/Plugin/Oauth/OauthPlugin.php index e1c7a908..1d7c37c2 100644 --- a/src/Guzzle/Plugin/Oauth/OauthPlugin.php +++ b/src/Guzzle/Plugin/Oauth/OauthPlugin.php @@ -174,7 +174,7 @@ class OauthPlugin implements EventSubscriberInterface )); // Filter out oauth_token during temp token step, as in request_token. - if ($this->config['token'] !== false) { + if ($this->config['token']) { $params->add('oauth_token', $this->config['token']); }