From 06bf2e2413446fe30b9b4b63bccb47d47786cde2 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 8 Jul 2009 01:02:12 -0700 Subject: [PATCH] Get rid of the other error trying to property on a non-obj --- lib/facebookutil.php | 4 ++++ 1 file changed, 4 insertions(+) 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 " . -- 2.39.5