]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge commit 'refs/merge-requests/39' of https://gitorious.org/social/mainline into...
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 9 Feb 2015 10:35:19 +0000 (11:35 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 9 Feb 2015 10:35:19 +0000 (11:35 +0100)
plugins/TwitterBridge/daemons/synctwitterfriends.php

index 8b8ffbfd496bdbaaa0382f71c4bf12db2469a4a7..a3862eedfde45e9fcd67da1aa4101cb71b8fd87a 100755 (executable)
@@ -183,7 +183,9 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon
                            "of Twitter user $flink->foreign_id friends.");
                 continue;
             } else {
-                $friends = array_merge($friends, $more_friends);
+                if (is_array($more_friends)) {
+                    $friends = array_merge($friends, $more_friends);
+                }
             }
         }