HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-05-21 f89ed77a9dde1c3b9934f11ab1e61670ea3ae390
resolve #28
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/email/EMailAddress.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/email/EMailAddress.java
@@ -77,7 +77,7 @@
        }
        String[] doms = parts[1].split("\\.");
        StringBuilder query = new StringBuilder("obj.localpart='" + parts[0]
                + "' AND ( ( obj.subdomain IS NULL AND obj.domain.name='" + parts[1]
                + "' AND ( ( (obj.subdomain IS NULL OR obj.subdomain='') AND obj.domain.name='" + parts[1]
                + "' )");
        for (int subdomLevel = 1; subdomLevel < doms.length - 1; ++subdomLevel) {
            String subdom = "";