summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-21 08:10:35 -0200
committerRenato Botelho <renato@netgate.com>2016-01-21 08:10:35 -0200
commitd8e7225190f7953e2cc6a3651abc019f975f0fa4 (patch)
tree1587fc3f3fb498f09dbed94e690e824a6758bac5
parent7d8c9075c895a8bb09efc74fae9de3a0109b06cc (diff)
parent5f4bf5fb0ac5aa3e613d29ba60bf365643c6efd7 (diff)
downloadpfsense-d8e7225190f7953e2cc6a3651abc019f975f0fa4.zip
pfsense-d8e7225190f7953e2cc6a3651abc019f975f0fa4.tar.gz
Merge pull request #2488 from PiBa-NL/23_rulesedit
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
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'),
OpenPOWER on IntegriCloud