Project

General

Profile

Patch #21312 ยป 0001-Only-select-actual-users-from-the-database-in-Redmin.patch

Holger Just, 2015-11-24 15:03

View differences:

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)
    (1-1/1)