mirror of
https://github.com/itflow-org/itflow
synced 2026-08-18 13:35:12 +00:00
More Client Enforcement in modals across the app
This commit is contained in:
@@ -7,6 +7,9 @@ $contact_id = intval($_GET['id']);
|
||||
$sql = mysqli_query($mysqli, "SELECT contact_name FROM contacts WHERE contact_id = $contact_id LIMIT 1");
|
||||
$row = mysqli_fetch_assoc($sql);
|
||||
$contact_name = escapeHtml($row['contact_name']);
|
||||
$client_id = intval($row['contact_client_id']);
|
||||
|
||||
enforceClientAccess();
|
||||
|
||||
ob_start();
|
||||
|
||||
@@ -61,4 +64,5 @@ ob_start();
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
||||
require_once '../../../includes/modal_footer.php';
|
||||
|
||||
Reference in New Issue
Block a user