From 40e5dda3847073d8f86c558eafbbc5372133bedd Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 23 May 2020 07:54:06 +0200 Subject: [PATCH] Bug in backups.php, 'protect', fixed. --- admin/backups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2