Skip to content

Commit 9ccf8b0

Browse files
committed
Fix access of non existing variable backup.inc.php
in file server/lib/classes/backup.inc.php The restoreBackupWebFiles method gets passed a $filename In one branche it is getting concatenated into $full_filename This fixes the variable name from $full_filename to $filename on line 451 Line 451 is outside the branch described above
1 parent d3ecd74 commit 9ccf8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/backup.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public static function restoreBackupWebFiles($backup_format, $password, $backup_
448448
}
449449
}
450450
} else {
451-
$app->log('Failed to restore web backup ' . $full_filename . ', backup mode "' . $backup_mode . '" not recognized.', LOGLEVEL_DEBUG);
451+
$app->log('Failed to restore web backup ' . $filename . ', backup mode "' . $backup_mode . '" not recognized.', LOGLEVEL_DEBUG);
452452
}
453453
$app->system->web_folder_protection($web_root, true);
454454
return $result;

0 commit comments

Comments
 (0)