Development

#2684: BasesfFacebookActions.class.php.patch

You must first sign up to be able to contribute.

Ticket #2684: BasesfFacebookActions.class.php.patch

File BasesfFacebookActions.class.php.patch, 0.6 kB (added by ben-xo, 1 year ago)

Patch to fix this bug

  • BasesfFacebookActions.class.php

    old new  
    3434    //catch the exception that gets thrown if the cookie has an invalid session_key in it 
    3535    try { 
    3636      if (!$this->facebook->api_client->users_isAppAdded()) { 
    37         $this->facebook->redirect($facebook->get_add_url()); 
     37        $this->facebook->redirect($this->facebook->get_add_url()); 
    3838      } 
    3939    } catch (Exception $ex) { 
    4040      //this will clear cookies for your application and redirect them to a login prompt