Skip to content
Permalink
Browse files

Fixed undefined $AccessToken bug in the twitter plugin.

  • Loading branch information
tburry committed Nov 7, 2011
1 parent c6fbc33 commit c662ced24468cd2e1e82944e3af2fe92ab79c809
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/Twitter/class.twitter.plugin.php
@@ -204,9 +204,10 @@ public function Base_ConnectData_Handler($Sender, $Args) {
return;
$RequestToken = GetValue('oauth_token', $_GET);
$AccessToken = $this->AccessToken();
// Get the access token.
if ($RequestToken || !($AccessToken = $this->AccessToken())) {
if ($RequestToken || !$AccessToken) {
// Get the request secret.
$RequestToken = $this->GetOAuthToken($RequestToken);

0 comments on commit c662ced

Please sign in to comment.
You can’t perform that action at this time.