route to DNS zone info after adding zone to DNS

This commit is contained in:
Matthew Saunders Brown 2024-04-03 09:59:07 -07:00
parent 5f494efeb0
commit c578cae9f1

View File

@ -48,7 +48,7 @@ class ZonesAdd extends \Panel\Vdns {
if ($result_code == 0) {
$messages[] = "Zone (Domain Name) $zone has been added to DNS.";
$f3->set('SESSION.messages', $messages);
$f3->reroute("/DNS");
$f3->reroute("/DNS/$zone");
} else {
if (count($output) > 0) {
foreach ($output as $k=>$output_message) {