From fdef64341f3cc81be1093714b1d17e254d538b79 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Wed, 23 Mar 2005 05:32:49 +0000 Subject: revert prior less correct change --- usr/local/www/diag_backup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 17c9374..47a1064 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -129,10 +129,10 @@ if ($_POST) { fwrite($fd, $upgradedconfig); fclose($fd); } - if($_POST['backuparea'] <> "") { + if($_POST['restorearea'] <> "") { /* restore a specific area of the configuration */ $rules = return_filename_as_string($_FILES['conffile']['tmp_name']); - restore_config_section($_POST['backuparea'], $rules); + restore_config_section($_POST['restorearea'], $rules); filter_configure(); $savemsg = "The configuration area has been restored."; } else { -- cgit v1.1