From accb491c050c88dcba7ef4fe0bae95386c382caf Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 3 Sep 2015 07:46:15 +0000 Subject: [PATCH] (legacy) redirect to correct topic after alias edit --- src/www/firewall_aliases_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_aliases_edit.php b/src/www/firewall_aliases_edit.php index 5ace3cc0b..6ed0587cd 100644 --- a/src/www/firewall_aliases_edit.php +++ b/src/www/firewall_aliases_edit.php @@ -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");