client edit modal: Restrict Access to client restricted agents

This commit is contained in:
johnnyq 2026-02-14 13:17:15 -05:00
parent ce7daaf1cf
commit 616635f951
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ require_once '../../../includes/modal_header.php';
$client_id = intval($_GET['id']);
$sql = mysqli_query($mysqli, "SELECT * FROM clients WHERE client_id = $client_id LIMIT 1");
$sql = mysqli_query($mysqli, "SELECT * FROM clients WHERE client_id = $client_id $access_permission_query LIMIT 1");
$row = mysqli_fetch_assoc($sql);
$client_name = nullable_htmlentities($row['client_name']);