Fix #1186 backup con php8.0

This commit is contained in:
Pek5892 2023-06-23 10:42:48 +02:00
parent d0caeb43bd
commit 4dd4b0c69e
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@ if (filter('op') == 'restore') {
$backups = Backup::getList();
$path = $backups[$number];
}
Backup::restore($path, is_file($path));
$database->beginTransaction();
flash()->info(tr('Backup ripristinato correttamente!'));
}