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;