mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 13:05:12 +00:00
Enforce ClientAccess in asset modal
This commit is contained in:
@@ -16,7 +16,11 @@ $sql = mysqli_query($mysqli, "SELECT * FROM assets
|
|||||||
");
|
");
|
||||||
|
|
||||||
$row = mysqli_fetch_assoc($sql);
|
$row = mysqli_fetch_assoc($sql);
|
||||||
|
|
||||||
$client_id = intval($row['client_id']);
|
$client_id = intval($row['client_id']);
|
||||||
|
|
||||||
|
enforceClientAccess();
|
||||||
|
|
||||||
$client_name = escapeHtml($row['client_name']);
|
$client_name = escapeHtml($row['client_name']);
|
||||||
$asset_id = intval($row['asset_id']);
|
$asset_id = intval($row['asset_id']);
|
||||||
$asset_type = escapeHtml($row['asset_type']);
|
$asset_type = escapeHtml($row['asset_type']);
|
||||||
|
|||||||
Reference in New Issue
Block a user