diff --git a/api/notifications.php b/api/notifications.php index de4ca10..aa23696 100644 --- a/api/notifications.php +++ b/api/notifications.php @@ -127,7 +127,7 @@ $statusSql = "SELECT DISTINCT AND al.entity_type = 'ticket' AND al.user_id != ? AND al.created_at >= DATE_SUB(NOW(), INTERVAL 7 DAY) - AND al.details LIKE '%"status":%' + AND al.details LIKE '%\"status\":%' ORDER BY al.created_at DESC LIMIT 10";