s1
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<?php
|
||||
// ---- if Admin then Agent dropdown and filter with agent----
|
||||
if($_SESSION['type'] === 'admin'){
|
||||
if($_SESSION['type'] === 'admin' || $_SESSION['type'] === 'bm' ){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user