diff --git a/modules/backups/actions.php b/modules/backups/actions.php index 1240a8995..209e9641f 100755 --- a/modules/backups/actions.php +++ b/modules/backups/actions.php @@ -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!')); }