Skip to content
Browse files

forgot None case in due date fix

  • Loading branch information...
1 parent 8ea1318 commit 576bb2d421333262b07f8daff12fb65b88fb7394 @yekibud yekibud committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 helpdesk/views/staff.py
View
3 helpdesk/views/staff.py
@@ -359,7 +359,8 @@ def update_ticket(request, ticket_id, public=False):
c.save()
ticket.priority = priority
- due_date = timezone.make_aware(due_date, timezone.utc)
+ if due_date:
+ due_date = timezone.make_aware(due_date, timezone.utc)
if due_date != ticket.due_date:
c = TicketChange(
followup=f,

0 comments on commit 576bb2d

Please sign in to comment.
Something went wrong with that request. Please try again.