From 3fded66d1abf6e6132a6d99ed0428e9cb60b9e2f Mon Sep 17 00:00:00 2001 From: CamilleBeau Date: Fri, 29 Sep 2023 15:57:57 -0400 Subject: [PATCH] [issue_tracker] Fix inactive user query --- modules/issue_tracker/php/edit.class.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/issue_tracker/php/edit.class.inc b/modules/issue_tracker/php/edit.class.inc index 0e3a0680d52..b8c934020ea 100644 --- a/modules/issue_tracker/php/edit.class.inc +++ b/modules/issue_tracker/php/edit.class.inc @@ -94,7 +94,7 @@ class Edit extends \NDB_Page implements ETagCalculator $inactive_users_expanded = $db->pselect( "SELECT DISTINCT u.Real_name, u.UserID FROM users u LEFT JOIN user_psc_rel upr ON (upr.UserID=u.ID) - WHERE FIND_IN_SET(upr.CenterID,:CenterID) OR (upr.CenterID=:DCC) + WHERE (FIND_IN_SET(upr.CenterID,:CenterID) OR (upr.CenterID=:DCC)) AND Active='N'", [ 'CenterID' => $CenterID,