X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fbackups.php;h=01ef0732acc41e8be64c2903e651c0a87a4eeec9;hb=630e99edecc3eabe708a9e7bda94eaa60bf16db7;hp=102deb55a187b2f2cb1421893921d10285aac01e;hpb=a5edfc9244a2b1f478269a1b276cbf2236ec6cc3;p=fa-stable.git diff --git a/admin/backups.php b/admin/backups.php index 102deb55..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 @@ -187,7 +187,7 @@ if (get_post('upload')) } //------------------------------------------------------------------------------- -start_form(false, true); +start_form(true, true); start_outer_table(TABLESTYLE2); table_section(1); table_section_title(_("Create backup"));