From 4a6d312ea0cb544985ef228ecb79ffe856138474 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sat, 14 Sep 2024 23:50:05 +0100 Subject: [PATCH] Tidying --- report_domains.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_domains.php b/report_domains.php index 7f6e7428..8ec4c792 100644 --- a/report_domains.php +++ b/report_domains.php @@ -22,7 +22,7 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS domains.*, LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id WHERE domain_archived_at IS NULL - AND (domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%') + AND (domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%') ORDER BY $sort $order LIMIT $record_from, $record_to" );