Skip to content

Commit 4778228

Browse files
committed
fix bug where excluded files get included
1 parent c811d3f commit 4778228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BackupHandlers/Files/FilesBackupHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getAllPathFromFileArray($fileArray)
6565
}
6666

6767
if (File::isDirectory($file)) {
68-
$files += File::allFiles($file);
68+
$files = array_merge($files, File::allFiles($file));
6969
}
7070
}
7171

0 commit comments

Comments
 (0)