diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/facebookutil.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php index 5eb9534b1..762d17bff 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 " . |