From d6f8f7346ee78012b026808be4f3f60f390a347d Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 19 Oct 2011 22:13:26 -0700 Subject: [PATCH] FB friends not updating --- facebook/facebook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facebook/facebook.php b/facebook/facebook.php index 22cefc030..f1c7f85a8 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))