From 107e61989338d5f780d4e90878e04305f0d8bbf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Thu, 13 Aug 2020 14:09:13 +0200 Subject: [PATCH] Update dns_diagnostics.php --- data/web/inc/ajax/dns_diagnostics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/ajax/dns_diagnostics.php b/data/web/inc/ajax/dns_diagnostics.php index 213b7fb1..928a4e42 100644 --- a/data/web/inc/ajax/dns_diagnostics.php +++ b/data/web/inc/ajax/dns_diagnostics.php @@ -320,7 +320,7 @@ foreach ($records as &$record) { } else { $currents = dns_get_record($record[0], $record_types[$record[1]]); - if ($record[0] == $mailcow_hostname && ($record[1] == "A" | $record[1] == "AAAA")) { + if ($record[0] == $mailcow_hostname && ($record[1] == "A" || $record[1] == "AAAA")) { if (!empty(dns_get_record($record[0], DNS_CNAME))) { $currents[0]['ip'] = state_missing . ' (CNAME)'; $currents[0]['ipv6'] = state_missing . ' (CNAME)';