webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Update Lib/FB.php (quick fix for issue #48) #118

Closed antoinegomez closed 11 years ago

antoinegomez commented 11 years ago

When not using 'Facebook.Connect' in $components var the self::$Facebook static variable is not set. This cause a warning on call_user_func and result of a non working plugin.

Being new to cakephp I only see this fix for now. This fix issue #48