fixes #1212164 by Dave Cohen: fixes broken filter by friends.
authorDave Cohen
Wed, 21 Sep 2011 17:29:51 +0000 (10:29 -0700)
committerDave Cohen
Wed, 21 Sep 2011 17:29:51 +0000 (10:29 -0700)
fb.module

index ef7710b..f278d4f 100644 (file)
--- a/fb.module
+++ b/fb.module
@@ -939,6 +939,7 @@ function fb_get_friends($fbu, $fb_app = NULL) {
         $items = fb_call_method($fb, 'friends.get', array(
                                   'uid' => $fbu,
                                 ));
+        $cache[$fbu] = $items;
       }
       catch (Exception $e) {
         fb_log_exception($e, t('Failed call to friends.get'), $fb);