diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-07-08 01:02:12 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-07-08 01:02:12 -0700 |
commit | 06bf2e2413446fe30b9b4b63bccb47d47786cde2 (patch) | |
tree | 636a822243da8c8e0b59c0e3bd76a19c4ae69469 | |
parent | 2ed9d2dac5c2eb0d44c1168cdd861c925f184fb6 (diff) |
Get rid of the other error trying to property on a non-obj
-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 " . |