Get rid of the other error trying to property on a non-obj

This commit is contained in:
Zach Copley 2009-07-08 01:02:12 -07:00
parent 2ed9d2dac5
commit 06bf2e2413
1 changed files with 4 additions and 0 deletions

View File

@ -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 " .