(legacy) redirect to correct topic after alias edit

This commit is contained in:
Ad Schellevis 2015-09-03 07:46:15 +00:00
parent 189426460d
commit accb491c05

View File

@ -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");