GitLab ist wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht erreichbar.

Commit 68d3f6e4 authored by jplang's avatar jplang

Redmine.pm fails when permissions are NULL (#11818).

Contributed by John Yani.

git-svn-id: https://svn.redmine.org/redmine/trunk@10375 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ff0d94b2
......@@ -249,7 +249,8 @@ sub RedmineDSN {
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)
OR
(roles.builtin=1 AND cast(projects.is_public as CHAR) IN ('t', '1'))
) ";
)
AND roles.permissions IS NOT NULL";
$self->{RedmineQuery} = trim($query);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment