Fix #1186 backup con php8.0
This commit is contained in:
parent
d0caeb43bd
commit
4dd4b0c69e
|
@ -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!'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue