From f32e9531ae21852ef0b21709b8278d1091d55d56 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 27 Oct 2017 16:52:31 -0400 Subject: [PATCH] Do not print JS when there are input errors on diag_dns.php; fix json_encode syntax. Ticket #7999 --- src/usr/local/www/diag_dns.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php index 6262bc7f7e0..b5f6717e8a9 100644 --- a/src/usr/local/www/diag_dns.php +++ b/src/usr/local/www/diag_dns.php @@ -333,11 +333,12 @@ function display_host_results ($address, $hostname, $dns_speeds) {