From 68fb680c410f199f69741bc6b049474d0cc28138 Mon Sep 17 00:00:00 2001 From: Hugo Silva Date: Wed, 10 Aug 2022 18:37:35 +0100 Subject: [PATCH] Fix rogue echos on json QSL status code --- application/controllers/Logbook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index 51bcc1ae..677afec2 100755 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -574,7 +574,7 @@ class Logbook extends CI_Controller { $html .= "yellow"; break; case "I": - echo "grey"; + $html .= "grey"; break; default: $html .= "red"; @@ -592,7 +592,7 @@ class Logbook extends CI_Controller { $html .= "yellow"; break; case "I": - echo "grey"; + $html .= "grey"; break; default: $html .= "red";