From 0987f3121febc755543292d5b73beb4ab73263d1 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 17 Sep 2023 19:00:31 -0400 Subject: [PATCH] fix Pending tickets notification --- cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.php b/cron.php index 6b00933e..b22dba1a 100644 --- a/cron.php +++ b/cron.php @@ -212,7 +212,7 @@ $tickets_pending_assignment = mysqli_num_rows($sql_tickets_pending_assignment); if($tickets_pending_assignment > 0){ - mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Ticket', notification = 'There are $ticket_pending_assignment Tickets pending Assignment', notification_action = 'tickets.php?status=Pending-Assignment'"); + mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Pending Tickets', notification = 'There are $tickets_pending_assignment Tickets pending assignment', notification_action = 'tickets.php?status=Pending-Assignment'"); // Logging mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Task', log_description = 'Cron created notifications for tickets that are pending assignment'");