Commit acbedcf1 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) unexisting return value in firewall_aliases.php

parent 229f20f6
...@@ -81,13 +81,8 @@ $selected_tab = htmlspecialchars(($_REQUEST['tab'] == "" ? "ip" : preg_replace(" ...@@ -81,13 +81,8 @@ $selected_tab = htmlspecialchars(($_REQUEST['tab'] == "" ? "ip" : preg_replace("
if ($_SERVER['REQUEST_METHOD'] === 'POST') { if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($_POST['apply'])) { if (isset($_POST['apply'])) {
/* reload all components that use aliases */ /* reload all components that use aliases */
$retval = filter_configure(); filter_configure();
if(stristr($retval, "error") <> true)
$savemsg = get_std_save_message(); $savemsg = get_std_save_message();
else
$savemsg = $retval;
if ($retval == 0)
clear_subsystem_dirty('aliases'); clear_subsystem_dirty('aliases');
} elseif (isset($_POST['act']) && $_POST['act'] == "del") { } elseif (isset($_POST['act']) && $_POST['act'] == "del") {
if (isset($_POST['id']) && isset($a_aliases[$_POST['id']])) { if (isset($_POST['id']) && isset($a_aliases[$_POST['id']])) {
......
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