From a85f898ef53fa29a8e26524335ffe467d2f95cb4 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 2 Nov 2025 13:13:51 -0500 Subject: [PATCH] Fix No records exist if client_id in the uri is non existent --- agent/includes/inc_all_client.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent/includes/inc_all_client.php b/agent/includes/inc_all_client.php index f2324474..55e6e3c2 100644 --- a/agent/includes/inc_all_client.php +++ b/agent/includes/inc_all_client.php @@ -37,7 +37,8 @@ if (isset($_GET['client_id'])) { if (mysqli_num_rows($sql) == 0) { require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; - echo "

Nothing to see here

"; + echo "

Nothing to see here

Go Back
"; + exit; } else { $row = mysqli_fetch_array($sql);