diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-04 12:49:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-04 12:49:03 +0000 |
commit | f6cbafceb9f72ec8389e5cc9f799c22dee65f844 (patch) | |
tree | 5886ac6abdf901cda69d07afa9e849b9e016fd67 | |
parent | c2723f4bc073e26f404a6de8ba90274995da08a2 (diff) | |
download | redmine-f6cbafceb9f72ec8389e5cc9f799c22dee65f844.tar.gz redmine-f6cbafceb9f72ec8389e5cc9f799c22dee65f844.zip |
Merged r14892 (#21312).
git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14917 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | extra/svn/Redmine.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 8b7fe158f..bac1cb2fc 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -244,6 +244,7 @@ sub RedmineDSN { WHERE users.login=? AND projects.identifier=? + AND users.type='User' AND users.status=1 AND ( 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) |