fb queue - wrong var
This commit is contained in:
parent
6f34f89ddb
commit
dbaf3eca07
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ function fb_queue_hook(&$a,&$b) {
|
||||||
if((! is_array($b)) || (! count($b)))
|
if((! is_array($b)) || (! count($b)))
|
||||||
return;
|
return;
|
||||||
foreach($b as $x) {
|
foreach($b as $x) {
|
||||||
if($b['network'] !== NETWORK_FACEBOOK)
|
if($x['network'] !== NETWORK_FACEBOOK)
|
||||||
continue;
|
continue;
|
||||||
$r = q("SELECT `user`.* FROM `user` LEFT JOIN `contact` on `contact`.`uid` = `user`.`uid`
|
$r = q("SELECT `user`.* FROM `user` LEFT JOIN `contact` on `contact`.`uid` = `user`.`uid`
|
||||||
WHERE `contact`.`self` = 1 AND `contact`.`id` = %d LIMIT 1",
|
WHERE `contact`.`self` = 1 AND `contact`.`id` = %d LIMIT 1",
|
||||||
|
|
Loading…
Reference in a new issue