diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-23 04:39:05 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-23 04:39:05 +0000 |
commit | c3245cae0404c3f369286262a25d84eb3721926a (patch) | |
tree | 5af3775a7ca73d7e42157cd2c167eaff613b68fa /usr/local/www | |
parent | aa0d74da8809cc0856f13c95a95049579091fa7d (diff) | |
download | pfsense-c3245cae0404c3f369286262a25d84eb3721926a.zip pfsense-c3245cae0404c3f369286262a25d84eb3721926a.tar.gz |
Fix config restore
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_backup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index f7fca8c..677660d 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['restorearea'] <> "") { + if($_POST['backuparea'] <> "") { /* restore a specific area of the configuration */ $rules = return_filename_as_string($_FILES['conffile']['tmp_name']); - restore_config_section($_POST['restorearea'], $rules); + restore_config_section($_POST['backuparea'], $rules); filter_configure(); $savemsg = "The configuration area has been restored."; } else { |