forked from extern/django-helpdesk
Merge pull request #464 from reduxionist/pr/393
solves Title changed to . (Null title) on failed attachment upload.
This commit is contained in:
commit
0edc75fc6c
@ -461,7 +461,7 @@ def update_ticket(request, ticket_id, public=False):
|
||||
|
||||
files = process_attachments(f, request.FILES.getlist('attachment'))
|
||||
|
||||
if title != ticket.title:
|
||||
if title and title != ticket.title:
|
||||
c = TicketChange(
|
||||
followup=f,
|
||||
field=_('Title'),
|
||||
|
Loading…
Reference in New Issue
Block a user