From 0130a431ab7d053d2f904ac135834422703b9dcc Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 24 Dec 2011 01:46:12 -0800 Subject: [PATCH] correct item reference --- facebook/facebook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;