mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(legacy) (legacy) unexisting return value in firewall_nat_1to1.php
This commit is contained in:
parent
2af63a1377
commit
0bc4774b7f
@ -43,14 +43,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
}
|
||||
|
||||
if (isset($pconfig['apply'])) {
|
||||
$retval = 0;
|
||||
$retval |= filter_configure();
|
||||
filter_configure();
|
||||
$savemsg = get_std_save_message();
|
||||
|
||||
if ($retval == 0) {
|
||||
clear_subsystem_dirty('natconf');
|
||||
clear_subsystem_dirty('filter');
|
||||
}
|
||||
clear_subsystem_dirty('natconf');
|
||||
clear_subsystem_dirty('filter');
|
||||
} elseif (isset($pconfig['action']) && $pconfig['action'] == 'del' && isset($id)) {
|
||||
// delete single entry
|
||||
unset($a_1to1[$id]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user