summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-23 05:32:49 +0000
committerBill Marquette <billm@pfsense.org>2005-03-23 05:32:49 +0000
commitfdef64341f3cc81be1093714b1d17e254d538b79 (patch)
tree315e0c522a26fb07f305006a64ba1520d8d072aa
parenta9bb66ad93c42bb7328c8e10ccd7ca8392c82059 (diff)
downloadpfsense-fdef64341f3cc81be1093714b1d17e254d538b79.zip
pfsense-fdef64341f3cc81be1093714b1d17e254d538b79.tar.gz
revert prior less correct change
-rwxr-xr-xusr/local/www/diag_backup.php4
1 files changed, 2 insertions, 2 deletions
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 {
OpenPOWER on IntegriCloud