summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-12-31 17:10:23 +0545
committerRenato Botelho <renato@netgate.com>2017-01-04 14:05:50 -0200
commit930b2110c5d132ae616497ccf0c2bb1a916696c7 (patch)
tree2a9b6f32db88c3bddcb233c24c48f78a9a4dc9fd
parent23bd0f9ddf0da456d39fdb4e91d6f181604031ab (diff)
downloadpfsense-930b2110c5d132ae616497ccf0c2bb1a916696c7.zip
pfsense-930b2110c5d132ae616497ccf0c2bb1a916696c7.tar.gz
firewall_rules_edit stop Floating field displaying
Seems to fix https://redmine.pfsense.org/issues/7057 But I have not looked underneath the hood - just copied the way other hidden fields are done in that code. (cherry picked from commit 76895c7f1d77c8e17913a3ddf87636fc4d50058d)
-rw-r--r--src/usr/local/www/firewall_rules_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 5762b45..9c385d4 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1282,7 +1282,7 @@ if ($if == "FloatingRules" || isset($pconfig['floating'])) {
)
));
- $section->addInput(new Form_Input(
+ $form->addGlobal(new Form_Input(
'floating',
'Floating',
'hidden',
OpenPOWER on IntegriCloud