correct item reference

This commit is contained in:
friendica 2011-12-24 01:46:12 -08:00
parent 9de321f02a
commit 0130a431ab

View File

@ -534,7 +534,7 @@ function facebook_post_hook(&$a,&$b) {
// only accept comments from the item owner. Other contacts are unknown to FB. // 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; return;