Commit 12f25c7d authored by Ad Schellevis's avatar Ad Schellevis

whitespace firewall_nat.php

parent 0bc4774b
...@@ -66,7 +66,6 @@ function delete_id($id, &$array){ ...@@ -66,7 +66,6 @@ function delete_id($id, &$array){
} else { } else {
return false; return false;
} }
} }
if (!is_array($config['nat']['rule'])) { if (!is_array($config['nat']['rule'])) {
...@@ -93,7 +92,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -93,7 +92,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
mark_subsystem_dirty('filter'); mark_subsystem_dirty('filter');
} }
unset($a_nat[$id]); unset($a_nat[$id]);
if (write_config()) { if (write_config()) {
mark_subsystem_dirty('natconf'); mark_subsystem_dirty('natconf');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment