X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=admin%2Fbackups.php;h=01ef0732acc41e8be64c2903e651c0a87a4eeec9;hp=9239e82d83450e16b0c33173def3a86a2055d5e6;hb=40e5dda3847073d8f86c558eafbbc5372133bedd;hpb=efa47c3c14d52adf0566652ac1b02aa3ade9d94b diff --git a/admin/backups.php b/admin/backups.php index 9239e82d..01ef0732 100644 --- a/admin/backups.php +++ b/admin/backups.php @@ -146,7 +146,7 @@ if (get_post('creat')) { if (get_post('restore')) { if ($backup_name) { - if (db_import($backup_path, $conn, true, false, check_value('protected'))) + if (db_import($backup_path, $conn, true, false, check_value('protect'))) display_notification(_("Restore backup completed.")); $SysPrefs->refresh(); // re-read system setup } else