Merge pull request #464 from reduxionist/pr/393

solves Title changed to . (Null title) on failed attachment upload.
This commit is contained in:
Jonathan Barratt 2016-12-11 06:18:24 +07:00 committed by GitHub
commit 0edc75fc6c

View File

@ -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'),