From b3ac5de909a46fa5be752a0dbf2d37a511a76e29 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 20 May 2011 16:46:11 +0000 Subject: [PATCH] fix error --- hsarback/src/de/hsadmin/mods/email/EMailAddress.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/email/EMailAddress.java b/hsarback/src/de/hsadmin/mods/email/EMailAddress.java index f9dbe32..917568f 100644 --- a/hsarback/src/de/hsadmin/mods/email/EMailAddress.java +++ b/hsarback/src/de/hsadmin/mods/email/EMailAddress.java @@ -76,7 +76,7 @@ public class EMailAddress extends AbstractEntity implements Serializable { throw new HSAdminException("error in oid: " + humanKey); } String[] doms = parts[1].split("\\."); - StringBuilder query = new StringBuilder("localpart='" + parts[0] + StringBuilder query = new StringBuilder("obj.localpart='" + parts[0] + "' AND ( ( obj.subdomain IS NULL AND obj.domain.name='" + parts[1] + "' )"); for (int subdomLevel = 1; subdomLevel < doms.length - 1; ++subdomLevel) {