From b2ad67e26d0a5495e0fa2712fa475cdf7cd6549f Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 12 Jan 2024 18:41:32 -0500 Subject: [PATCH] readed back ticket timer at the top as it broke the counter --- top_nav.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/top_nav.php b/top_nav.php index f60f9290..d8f88455 100644 --- a/top_nav.php +++ b/top_nav.php @@ -37,26 +37,26 @@ - + + $sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications + LEFT JOIN clients ON notification_client_id = client_id + WHERE notification_dismissed_at IS NULL + AND (notification_user_id = $session_user_id OR notification_user_id = 0) + ORDER BY notification_id DESC LIMIT 5" + ); + ?> 0) { ?>