aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-05 00:19:22 -0700
committerFriendika <info@friendika.com>2011-06-05 00:19:22 -0700
commitdbaf3eca070537f16298015a870b209c3581e388 (patch)
treee80052dec8cd36e2a3cc2504e3fb4bb95ad8de71
parent6f34f89ddbbbac5747140991ebf750ddee4d31bf (diff)
downloadvolse-hubzilla-dbaf3eca070537f16298015a870b209c3581e388.tar.gz
volse-hubzilla-dbaf3eca070537f16298015a870b209c3581e388.tar.bz2
volse-hubzilla-dbaf3eca070537f16298015a870b209c3581e388.zip
fb queue - wrong var
-rw-r--r--addon/facebook/facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index cbd0fe490..ae69805fa 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -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",