]> git.mxchange.org Git - friendica-addons.git/commitdiff
correct item reference
authorfriendica <info@friendica.com>
Sat, 24 Dec 2011 09:46:12 +0000 (01:46 -0800)
committerfriendica <info@friendica.com>
Sat, 24 Dec 2011 09:46:12 +0000 (01:46 -0800)
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;