fix: remove useless UPPER

This commit is contained in:
Maël Gangloff 2025-11-08 21:09:11 +01:00
parent 3b7cd91d43
commit aa8bdc2a32
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -46,7 +46,7 @@ readonly class FindDomainCollectionFromEntityProvider implements ProviderInterfa
'de.entity',
'e',
Join::WITH,
'e.tld IS NOT NULL AND e.handle NOT IN (:blacklist) AND (UPPER(e.jCardOrg) = UPPER(:registrant) OR UPPER(e.jCardFn) = UPPER(:registrant))'
'e.tld IS NOT NULL AND e.handle NOT IN (:blacklist) AND (e.jCardOrg = UPPER(:registrant) OR e.jCardFn = UPPER(:registrant))'
)
->setParameter('registrant', $registrant)
->setParameter('blacklist', RDAPService::ENTITY_HANDLE_BLACKLIST)