diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-07-05 09:11:59 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-07-05 09:12:15 -0300 |
commit | abe411ad674bd301c2668b318bba82fc27abcfb5 (patch) | |
tree | 3697198095638ae2ee76dd09f2bfa86a82a74f9a /usr | |
parent | 277fd8db2b997e37bf5faaffcb9468a4f0ea4fce (diff) | |
download | pfsense-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.php | 2 |
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']))) |