Commit accb491c authored by Ad Schellevis's avatar Ad Schellevis

(legacy) redirect to correct topic after alias edit

parent 18942646
......@@ -218,7 +218,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
if(!empty($pconfig['type']) == 'host') {
if($pconfig['type'] == 'host') {
header("Location: firewall_aliases.php?tab=ip");
} elseif (strpos($pconfig['type'],'url') !== false) {
header("Location: firewall_aliases.php?tab=url");
......
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