From 8608b92e72489355e99ea00bc2f1e693d9dc87dc Mon Sep 17 00:00:00 2001 From: Suvo Date: Sat, 1 Nov 2025 10:39:55 +0000 Subject: [PATCH] report page admin issue --- CONTENT/ROOT_URI/Admin/Report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTENT/ROOT_URI/Admin/Report.php b/CONTENT/ROOT_URI/Admin/Report.php index 542eb16..a84e08c 100644 --- a/CONTENT/ROOT_URI/Admin/Report.php +++ b/CONTENT/ROOT_URI/Admin/Report.php @@ -103,7 +103,7 @@ function report_view($type, $dt) { } // ----- if admin filter option ----- - if($_SESSION['type'] === 'admin' || $_SESSION['type'] === 'bm' && isset($_GET['agent']) && $_GET['agent']!="") { + if( ($_SESSION['type'] === 'admin' || $_SESSION['type'] === 'bm') && isset($_GET['agent']) && $_GET['agent']!="") { $agentId = $conn->real_escape_string($_GET['agent']); $sql .= " AND `AA_AGENT`='".$agentId."'"; }