mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
Typo
This commit is contained in:
parent
dc73d81b45
commit
803137b051
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
# if already exists just update
|
# if already exists just update
|
||||||
elif alreadyExistsInRegistry:
|
elif alreadyExistsInRegistry:
|
||||||
old_contact = PublicContact.objects.filter(registry_id=contact.registry_id, contact_type=contact.contact_type).exclude(domain=self)
|
old_contact = PublicContact.objects.filter(registry_id=contact.registry_id, contact_type=contact.contact_type).exclude(domain=self)
|
||||||
if(old_contact.count > 0):
|
if(old_contact.count() > 0):
|
||||||
old_contact.delete()
|
old_contact.delete()
|
||||||
current_contact = PublicContact.objects.filter(
|
current_contact = PublicContact.objects.filter(
|
||||||
registry_id=contact.registry_id
|
registry_id=contact.registry_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue