HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2017-06-29 c1aca570f7737f489ddb67f9756924f772497f80
respect empty subdomain list
1 files modified
7 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/Domain.java 7 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/Domain.java
@@ -196,8 +196,11 @@
        StringBuffer aliases = new StringBuffer();
        for (String sub : subs) {
            aliases.append(' ');
            aliases.append(sub.trim());
            aliases.append('.');
            final String trimmed = sub.trim();
            if (trimmed != null && !trimmed.isEmpty()) {
                aliases.append(trimmed);
                aliases.append('.');
            }
            aliases.append(name);
        }
        return aliases.toString();