kotowicz/django-helpdesk — comment on commit 11283741a23d6a1f31c3d4f14af45f3907640642
File: helpdesk/views/staff.py line 265
By kotowicz:

Yes, 'update_ticket' is called even if nothing has changed. that's why I quickly wrote this code - to prevent our system from getting spammed with empty updates (very annoying!). I fully agree with you that the code is very ugly but it was a quick and dirty solution to fix my immediate problem. If time permits I will submit an alternative solution (I don't have time to check your code right now).