diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2016-01-21 00:52:36 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2016-01-21 00:52:36 +0100 |
commit | 5f4bf5fb0ac5aa3e613d29ba60bf365643c6efd7 (patch) | |
tree | fa85743539c0ec3cd8838fedb3136629fce18753 /src/usr | |
parent | 2794ddb451f6304e5781cfa8a7e7b07969941209 (diff) | |
download | pfsense-5f4bf5fb0ac5aa3e613d29ba60bf365643c6efd7.zip pfsense-5f4bf5fb0ac5aa3e613d29ba60bf365643c6efd7.tar.gz |
firewall_rules_edit, load advanced settings flags-any and sloppy-state back into webgui
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 8a7a046..c0d2042 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -966,7 +966,7 @@ function build_flag_table() { $flagtable .= "</table>"; $flagtable .= '<input type="checkbox" name="tcpflags_any" id="tcpflags_any" value="on"'; - $flagtable .= $pconfig['tcpflags_any'] ? 'checked':'' . '/>'; + $flagtable .= ($pconfig['tcpflags_any'] ? 'checked':'') . '/>'; $flagtable .= '<strong>' . gettext(" Any flags.") . '</strong>'; return($flagtable); @@ -1505,7 +1505,7 @@ $section->addInput(new Form_Checkbox( $section->addInput(new Form_Select( 'statetype', 'State type', - (isset($pconfig['statetype'])) ? "keep state":$pconfig['statetype'], + (isset($pconfig['statetype'])) ? $pconfig['statetype'] : "keep state", array( 'keep state' => gettext('Keep'), 'sloppy state' => gettext('Sloppy'), |