X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FTwitterBridge%2Fdaemons%2Fsynctwitterfriends.php;h=a3862eedfde45e9fcd67da1aa4101cb71b8fd87a;hb=74d4e2fa10f8dc5bbe2b8a6298d0b8ddf5eecb02;hp=8b8ffbfd496bdbaaa0382f71c4bf12db2469a4a7;hpb=527224266b9d9908dcf44d3f6a838a44d9a6215c;p=quix0rs-gnu-social.git diff --git a/plugins/TwitterBridge/daemons/synctwitterfriends.php b/plugins/TwitterBridge/daemons/synctwitterfriends.php index 8b8ffbfd49..a3862eedfd 100755 --- a/plugins/TwitterBridge/daemons/synctwitterfriends.php +++ b/plugins/TwitterBridge/daemons/synctwitterfriends.php @@ -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); + } } }