mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-02-16 18:20:48 +01:00
BUGFIX: new TicketCC instances must be returned after subscribed to Ticket updates.
This commit is contained in:
parent
0f346924fb
commit
4e32e879a8
@ -358,7 +358,7 @@ def subscribe_to_ticket_updates(ticket, user=None, email=None, can_view=True, ca
|
||||
ticketcc = ticket_cc_form.save(commit=False)
|
||||
ticketcc.ticket = ticket
|
||||
ticketcc.save()
|
||||
return ticketcc.save()
|
||||
return ticketcc
|
||||
else:
|
||||
raise ValidationError(
|
||||
_('Could not create subscribe contact to ticket updated. Errors: {}'.format(ticket_cc_form.errors))
|
||||
|
Loading…
Reference in New Issue
Block a user