Patch #21312 ยป 0001-Only-select-actual-users-from-the-database-in-Redmin.patch
extra/svn/Redmine.pm | ||
---|---|---|
244 | 244 |
WHERE |
245 | 245 |
users.login=? |
246 | 246 |
AND projects.identifier=? |
247 |
AND users.type='User' |
|
247 | 248 |
AND users.status=1 |
248 | 249 |
AND ( |
249 | 250 |
roles.id IN (SELECT member_roles.role_id FROM members, member_roles WHERE members.user_id = users.id AND members.project_id = projects.id AND members.id = member_roles.member_id) |