Commit d2e6e30f authored by Jean-Baptiste Oellers's avatar Jean-Baptiste Oellers
Browse files

Fix création rôle redmine #65765

parent a580ffb6
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -409,6 +409,9 @@ class Role extends AbstractRole implements HierarchicalRoleInterface
     */
    public function setLdapFilter(?string $ldapFilter): void
    {
        if (mb_strlen(trim($ldapFilter)) == 0) {
            $ldapFilter = NULL;
        }
        $this->ldapFilter = $ldapFilter;
    }