From: Friendika Date: Thu, 20 Oct 2011 05:13:26 +0000 (-0700) Subject: FB friends not updating X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6f8f7346ee78012b026808be4f3f60f390a347d;p=friendica-addons.git FB friends not updating --- diff --git a/facebook/facebook.php b/facebook/facebook.php index 22cefc03..f1c7f85a 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -145,7 +145,7 @@ function fb_get_self($uid) { function fb_get_friends($uid) { - $r = q("SELECT `id` FROM `user` WHERE `uid` = %d AND `account_expired` = 0 LIMIT 1", + $r = q("SELECT `uid` FROM `user` WHERE `uid` = %d AND `account_expired` = 0 LIMIT 1", intval($uid) ); if(! count($r))