summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-05 09:11:59 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-05 09:12:15 -0300
commitabe411ad674bd301c2668b318bba82fc27abcfb5 (patch)
tree3697198095638ae2ee76dd09f2bfa86a82a74f9a /usr
parent277fd8db2b997e37bf5faaffcb9468a4f0ea4fce (diff)
downloadpfsense-abe411ad674bd301c2668b318bba82fc27abcfb5.zip
pfsense-abe411ad674bd301c2668b318bba82fc27abcfb5.tar.gz
Fix a small issue when disable a boolean option and save, it shows option as enabled
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_advanced_firewall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php
index 2b341ee..7d184e6 100644
--- a/usr/local/www/system_advanced_firewall.php
+++ b/usr/local/www/system_advanced_firewall.php
@@ -75,7 +75,7 @@ $pconfig['disablevpnrules'] = isset($config['system']['disablevpnrules']);
if ($_POST) {
unset($input_errors);
- $pconfig = array_merge($pconfig, $_POST);
+ $pconfig = $_POST;
/* input validation */
if ((empty($_POST['adaptivestart']) && !empty($_POST['adaptiveend'])) || (!empty($_POST['adaptivestart']) && empty($_POST['adaptiveend'])))
OpenPOWER on IntegriCloud