Skip to content

Commit

Permalink
Merge pull request #1 from rmuit/php8
Browse files Browse the repository at this point in the history
Fix deprecated order of implode() arguments.
  • Loading branch information
dsnopek committed Jun 29, 2021
2 parents e64dba4 + 9107b80 commit 8728302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/destinations.file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class backup_migrate_destination_files extends backup_migrate_destination {
if (!is_dir($directory)) {
foreach (explode('/', $directory) as $dir) {
$dirs[] = $dir;
$path = implode($dirs, '/');
$path = implode('/', $dirs);
if ($path && !is_dir(realpath($path)) && !file_check_directory($path, FILE_CREATE_DIRECTORY)) {
$out = FALSE;
}
Expand Down

0 comments on commit 8728302

Please sign in to comment.