]> git.mxchange.org Git - friendica.git/commitdiff
fb queue - wrong var
authorFriendika <info@friendika.com>
Sun, 5 Jun 2011 07:19:22 +0000 (00:19 -0700)
committerFriendika <info@friendika.com>
Sun, 5 Jun 2011 07:19:22 +0000 (00:19 -0700)
addon/facebook/facebook.php

index cbd0fe490e165c38b8835416d3f4e4f387201ffa..ae69805fa7dc9306476612fc0f0a2c42769a3d11 100644 (file)
@@ -666,7 +666,7 @@ function fb_queue_hook(&$a,&$b) {
        if((! is_array($b)) || (! count($b)))
                return;
        foreach($b as $x) {
-               if($b['network'] !== NETWORK_FACEBOOK)
+               if($x['network'] !== NETWORK_FACEBOOK)
                        continue;
                $r = q("SELECT `user`.* FROM `user` LEFT JOIN `contact` on `contact`.`uid` = `user`.`uid` 
                        WHERE `contact`.`self` = 1 AND `contact`.`id` = %d LIMIT 1",