Skip to content

Commit

Permalink
(legacy) fix missing log option in save form
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Sep 24, 2015
1 parent 27dbf56 commit 5df05e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/www/firewall_rules_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ function is_posnumericint($arg) {
$filterent['disabled'] = true;
}

if (!empty($pconfig['log'])) {
$filterent['log'] = true;
}

if ($pconfig['protocol'] != "any") {
$filterent['protocol'] = $pconfig['protocol'];
Expand Down

0 comments on commit 5df05e9

Please sign in to comment.