summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_settings.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-24 05:07:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-24 05:07:35 +0000
commit526291047a83eb14d4b006cdb356bde0fafec5b7 (patch)
treefb014b8753559ca3c7cb1d422bff7e329028c2f7 /usr/local/www/system_firmware_settings.php
parentda55e467dde94534c6ac83cee329d9800b07467c (diff)
downloadpfsense-526291047a83eb14d4b006cdb356bde0fafec5b7.zip
pfsense-526291047a83eb14d4b006cdb356bde0fafec5b7.tar.gz
Honor URL and clear old contents correctly
Diffstat (limited to 'usr/local/www/system_firmware_settings.php')
-rwxr-xr-xusr/local/www/system_firmware_settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php
index a620fcd..9f7d32f 100755
--- a/usr/local/www/system_firmware_settings.php
+++ b/usr/local/www/system_firmware_settings.php
@@ -37,6 +37,8 @@ if ($_POST) {
} else {
unset($config['system']['firmware']['alturl']['enable']);
unset($config['system']['firmware']['alturl']['firmwareurl']);
+ unset($config['system']['firmware']['alturl']);
+ unset($config['system']['firmware']);
}
write_config();
}
OpenPOWER on IntegriCloud