summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-21 15:57:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-21 15:57:57 +0000
commit2629e5d1384d469f3cba232d601f8215a4bbb003 (patch)
treecb0b7c090aea2f8402da01fededcb0beeca93441 /usr/local/www/system_advanced.php
parent5c50ae405e0617c36cbe888b8de204e4948403f4 (diff)
downloadpfsense-2629e5d1384d469f3cba232d601f8215a4bbb003.zip
pfsense-2629e5d1384d469f3cba232d601f8215a4bbb003.tar.gz
* Use isset() to check to see if item is set
* Unset item if not checked when saved
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index d9a5b40..dc0a76d 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -124,7 +124,8 @@ if ($_POST) {
if($_POST['disablefirmwarecheck'] == "yes")
$config['system']['disablefirmwarecheck'] = true;
else
-
+ unset($config['system']['disablefirmwarecheck']);
+
if ($_POST['enableserial'] == "yes")
$config['system']['enableserial'] = true;
else
OpenPOWER on IntegriCloud