From bce776296ba249a9d49474aa2c259dd7df699a79 Mon Sep 17 00:00:00 2001 From: Asim Zeeshan Date: Fri, 29 Jan 2021 19:30:36 +0500 Subject: [PATCH] Updating calls.php to fix GET statement --- calls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calls.php b/calls.php index e3f0dbf..2a8d47b 100644 --- a/calls.php +++ b/calls.php @@ -36,7 +36,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } elseif ($_GET['value'] == 'domain') { $idle->viewMoreDomainModal($_GET['id']);//View more details modal } - } elseif ($_GET['type'] == 'dns_search') { + } elseif ($_GET['type'] == 'A' || $_GET['type'] == 'AAAA') { $idle->getIpForDomain($_GET['hostname'], $_GET['type']); } elseif ($_GET['type'] == 'check_up') { echo $idle->checkIsUp($_GET['host']);