mirror of
https://github.com/itflow-org/itflow
synced 2026-08-22 15:35:12 +00:00
More Client Enforcement in modals across the app
This commit is contained in:
4
agent/modals/vendor/vendor_add.php
vendored
4
agent/modals/vendor/vendor_add.php
vendored
@@ -4,6 +4,10 @@ require_once '../../../includes/modal_header.php';
|
||||
|
||||
$client_id = intval($_GET['client_id'] ?? 0);
|
||||
|
||||
if ($client_id) {
|
||||
enforceClientAccess();
|
||||
}
|
||||
|
||||
ob_start();
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user