mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-24 00:43:21 +01:00
If title cannot be retrieved from POST, default should be ticket.title
This commit is contained in:
parent
f8cccbcf0a
commit
8901086a80
@ -578,7 +578,7 @@ def update_ticket_view(request, ticket_id, public=False):
|
||||
|
||||
comment = request.POST.get('comment', '')
|
||||
new_status = int(request.POST.get('new_status', ticket.status))
|
||||
title = request.POST.get('title', '')
|
||||
title = request.POST.get('title', ticket.title)
|
||||
owner = int(request.POST.get('owner', -1))
|
||||
priority = int(request.POST.get('priority', ticket.priority))
|
||||
queue = int(request.POST.get('queue', ticket.queue.id))
|
||||
|
Loading…
Reference in New Issue
Block a user