summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_firewall.php
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:11:59 -0300
commit6a605eec7ead2f5112b50bf88df64cd1b1d4fc0d (patch)
tree12a1a0a9f55d7d6fa333bc48aa88f1bc02548282 /usr/local/www/system_advanced_firewall.php
parentae6d944406d1156b6d412d5355890c40a1b4bff5 (diff)
downloadpfsense-6a605eec7ead2f5112b50bf88df64cd1b1d4fc0d.zip
pfsense-6a605eec7ead2f5112b50bf88df64cd1b1d4fc0d.tar.gz
Fix a small issue when disable a boolean option and save, it shows option as enabled
Diffstat (limited to 'usr/local/www/system_advanced_firewall.php')
-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 0ac08ec..9d2a6fb 100644
--- a/usr/local/www/system_advanced_firewall.php
+++ b/usr/local/www/system_advanced_firewall.php
@@ -76,7 +76,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