fix error

This commit is contained in:
Peter Hormanns 2011-05-20 16:46:11 +00:00
parent 1270cd8641
commit b3ac5de909

View File

@ -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) {