forked from extern/django-helpdesk
UPDATED: Strip inputed emails before creating TicketCC instances
This commit is contained in:
parent
9e64354d8a
commit
5933d2a59b
@ -179,6 +179,7 @@ def create_ticket_cc(ticket, cc_list):
|
||||
for cced_email in cc_list:
|
||||
|
||||
user = None
|
||||
cced_email = cced_email.strip()
|
||||
|
||||
try:
|
||||
user = User.objects.get(email=cced_email)
|
||||
|
Loading…
Reference in New Issue
Block a user