dnsStatus($domain); $status->refresh([$domain]); header('Location: list-virtual.php?' . http_build_query(['domain' => $domain])); exit; } $status->refresh($domains); $params = ['table' => 'domain']; if (authentication_has_role('global-admin')) { $params['username'] = $username; } if (safepost('search_dns_active') === '0') { $params['search'] = ['dns_active' => 0]; } header('Location: list.php?' . http_build_query($params));