From: Zach Copley Date: Mon, 29 Nov 2010 23:57:41 +0000 (+0000) Subject: FacebookBridge: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1f67c2af542aabea4e93d7df0d2e917658e6a83;p=quix0rs-gnu-social.git FacebookBridge: - Don't try to access Foreign_link if it doesn't exist - Remove noisy debugging statement --- diff --git a/plugins/FacebookBridge/lib/facebookclient.php b/plugins/FacebookBridge/lib/facebookclient.php index 20d8aef7e2..d5ecd11a9c 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(); }