From: Zach Copley Date: Wed, 8 Jul 2009 08:02:12 +0000 (-0700) Subject: Get rid of the other error trying to property on a non-obj X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=06bf2e2413446fe30b9b4b63bccb47d47786cde2;p=quix0rs-gnu-social.git Get rid of the other error trying to property on a non-obj --- diff --git a/lib/facebookutil.php b/lib/facebookutil.php index 5eb9534b16..762d17bff5 100644 --- a/lib/facebookutil.php +++ b/lib/facebookutil.php @@ -51,6 +51,10 @@ function updateProfileBox($facebook, $flink, $notice) { function isFacebookBound($notice, $flink) { + if (empty($flink)) { + return false; + } + // If the user does not want to broadcast to Facebook, move along if (!($flink->noticesync & FOREIGN_NOTICE_SEND == FOREIGN_NOTICE_SEND)) { common_log(LOG_INFO, "Skipping notice $notice->id " .