From 94c39cba690042c91dcdb805ea88b2678faef0fb Mon Sep 17 00:00:00 2001 From: Pawel M Date: Tue, 8 Mar 2016 20:09:48 +0100 Subject: [PATCH] solves Title changed to . (Null title) on failed attachment upload. --- helpdesk/views/staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 15b92dbc..a482dea3 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -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'),