From b3ac5de909a46fa5be752a0dbf2d37a511a76e29 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Fri, 20 May 2011 18:46:11 +0200
Subject: [PATCH] fix error

---
 hsarback/src/de/hsadmin/mods/email/EMailAddress.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

--
Gitblit v1.9.1