From 4642569caeac28e7c554caca1b3dd94ccf875d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 11 Apr 2022 21:16:47 +0200 Subject: [PATCH] Move exit to the right place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- api_FTL.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api_FTL.php b/api_FTL.php index a2196c32..664addaf 100644 --- a/api_FTL.php +++ b/api_FTL.php @@ -332,9 +332,9 @@ if (isset($_GET['getAllQueries']) && $auth) { } // Finish the JSON string echo ']}'; + // exit at the end + exit(); } - // exit at the end - exit(); } if (isset($_GET["recentBlocked"]) && $auth) {