diff options
author | bcyrill <cyrill@bannwart.info> | 2012-04-08 21:07:07 +0300 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2012-04-08 21:07:07 +0300 |
commit | adc3353eb648d5780a91d3983bfb84a4a106fc56 (patch) | |
tree | 0f9403035683c1895b94e3086f9c204b24308b9c /usr/local | |
parent | 26b8990538c71c99df8e95fd5fada57f79465d93 (diff) | |
download | pfsense-adc3353eb648d5780a91d3983bfb84a4a106fc56.zip pfsense-adc3353eb648d5780a91d3983bfb84a4a106fc56.tar.gz |
Merge array and keep unchanged values.
Diffstat (limited to 'usr/local')
-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 6983422..a8dcae1 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -72,7 +72,7 @@ $pconfig['disablevpnrules'] = isset($config['system']['disablevpnrules']); if ($_POST) { unset($input_errors); - $pconfig = $_POST; + $pconfig = array_merge($pconfig, $_POST); /* input validation */ if ($_POST['maximumstates'] && !is_numericint($_POST['maximumstates'])) { |