]> git.mxchange.org Git - friendica-addons.git/blobdiff - facebook/facebook.php
Bugfix
[friendica-addons.git] / facebook / facebook.php
index 0e30b62b2a3d654a2de3ba24df619545ad69008f..35338fa16d7bbff606b3217d1c99f9f0cc0af159 100755 (executable)
@@ -289,7 +289,7 @@ function fb_get_friends_sync_full($uid, $access_token, $person) {
                                        intval($r[0]['id'])
                                );                      
                        }       
-                       continue;
+                       return;
                }
                else {
 
@@ -322,7 +322,7 @@ function fb_get_friends_sync_full($uid, $access_token, $person) {
                );
 
                if(! count($r)) {
-                       continue;
+                       return;
                }
 
                $contact = $r[0];