]> git.mxchange.org Git - friendica-addons.git/blobdiff - facebook/facebook.php
correct item reference
[friendica-addons.git] / facebook / facebook.php
index bb0b45ac71988e189c5531e3f310b6bcbad43d59..27d8d0a86fe7c47d27de4308fbcd0cc01a069d9c 100644 (file)
@@ -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;