forked from GNUsocial/gnu-social
Get rid of the other error trying to property on a non-obj
This commit is contained in:
parent
2ed9d2dac5
commit
06bf2e2413
@ -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 " .
|
||||
|
Loading…
Reference in New Issue
Block a user