From: friendica Date: Sat, 24 Dec 2011 09:46:12 +0000 (-0800) Subject: correct item reference X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0130a431ab7d053d2f904ac135834422703b9dcc;p=friendica-addons.git correct item reference --- diff --git a/facebook/facebook.php b/facebook/facebook.php index bb0b45ac..27d8d0a8 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -534,7 +534,7 @@ function facebook_post_hook(&$a,&$b) { // only accept comments from the item owner. Other contacts are unknown to FB. - if(! link_compare($item['author-link'], $a->get_baseurl() . '/profile/' . $u[0]['nickname'])) + if(! link_compare($b['author-link'], $a->get_baseurl() . '/profile/' . $u[0]['nickname'])) return;