If ticket doesn't have a client dont show client section

This commit is contained in:
johnnyq
2025-11-15 16:51:31 -05:00
parent 46a1b673ba
commit 1e6e7fd6d8
4 changed files with 21 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ if (isset($_GET['ticket_id'])) {
LEFT JOIN ticket_statuses ON ticket_status = ticket_status_id
LEFT JOIN categories ON ticket_category = category_id
WHERE ticket_id = $ticket_id
$access_permission_query
LIMIT 1"
);