fix
This commit is contained in:
parent
38d9e8ceb8
commit
8b2e746fa9
@ -69,7 +69,7 @@ public class EMailAddressProcessorFactory implements EntityProcessorFactory {
|
||||
query.setParameter("subdomain", email.getSubdomain());
|
||||
}
|
||||
else {
|
||||
query = em.createQuery("SELECT e FROM EMailAddresses e WHERE e.subdomain IS NULL AND e.domain=:domain");
|
||||
query = em.createQuery("SELECT e FROM EMailAddresses e WHERE ( e.subdomain IS NULL OR e.subdomain = '' ) AND e.domain=:domain");
|
||||
}
|
||||
query.setParameter("domain", email.getDomain());
|
||||
List<?> result = query.getResultList();
|
||||
|
Loading…
Reference in New Issue
Block a user