]> git.mxchange.org Git - friendica-addons.git/commitdiff
FB friends not updating
authorFriendika <info@friendika.com>
Thu, 20 Oct 2011 05:13:26 +0000 (22:13 -0700)
committerFriendika <info@friendika.com>
Thu, 20 Oct 2011 05:13:26 +0000 (22:13 -0700)
facebook/facebook.php

index 22cefc0302d7aa39c3fd7f00580c6c4720cf22d0..f1c7f85a8447b728d0ce1621b39e78e97ef60b33 100644 (file)
@@ -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))