Bug in backups.php, 'protect', fixed.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 23 May 2020 05:54:06 +0000 (07:54 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 23 May 2020 05:54:06 +0000 (07:54 +0200)
admin/backups.php

index 9239e82d83450e16b0c33173def3a86a2055d5e6..01ef0732acc41e8be64c2903e651c0a87a4eeec9 100644 (file)
@@ -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