diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/FacebookBridge/lib/facebookclient.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/FacebookBridge/lib/facebookclient.php b/plugins/FacebookBridge/lib/facebookclient.php index 20d8aef7e..d5ecd11a9 100644 --- a/plugins/FacebookBridge/lib/facebookclient.php +++ b/plugins/FacebookBridge/lib/facebookclient.php @@ -58,7 +58,9 @@ class Facebookclient FACEBOOK_SERVICE ); - $this->user = $this->flink->getUser(); + if (!empty($this->flink)) { + $this->user = $this->flink->getUser(); + } } /* @@ -103,7 +105,6 @@ class Facebookclient */ static function facebookBroadcastNotice($notice) { - common_debug('Facebook broadcast'); $client = new Facebookclient($notice); return $client->sendNotice(); } |