From 4778228a91213d608314df903c532a6671dc9f23 Mon Sep 17 00:00:00 2001 From: freek Date: Sun, 22 Feb 2015 02:36:00 +0100 Subject: [PATCH] fix bug where excluded files get included --- src/BackupHandlers/Files/FilesBackupHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BackupHandlers/Files/FilesBackupHandler.php b/src/BackupHandlers/Files/FilesBackupHandler.php index cda8762c..179ca855 100644 --- a/src/BackupHandlers/Files/FilesBackupHandler.php +++ b/src/BackupHandlers/Files/FilesBackupHandler.php @@ -65,7 +65,7 @@ public function getAllPathFromFileArray($fileArray) } if (File::isDirectory($file)) { - $files += File::allFiles($file); + $files = array_merge($files, File::allFiles($file)); } }