Ajax active clients - enforce client access restrictions (e.g. when changing ticket client)

This commit is contained in:
Marcus Hill
2025-05-11 11:57:16 +01:00
parent 797e02bffa
commit 908738b7ca

View File

@@ -294,6 +294,7 @@ if (isset($_GET['get_active_clients'])) {
$mysqli, $mysqli,
"SELECT client_id, client_name FROM clients "SELECT client_id, client_name FROM clients
WHERE client_archived_at IS NULL WHERE client_archived_at IS NULL
$access_permission_query
ORDER BY client_accessed_at DESC" ORDER BY client_accessed_at DESC"
); );