From 98340b524d642e7e017a30347b4790a0aefbc380 Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Mon, 16 Sep 2013 11:54:46 +1000 Subject: [PATCH] Fixes #181. Thanks @AntonOfTheWoods --- helpdesk/views/staff.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index b4b1b8f5..2af5bd5d 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -570,7 +570,7 @@ def update_ticket(request, ticket_id, public=False): ticket.save() # auto subscribe user if enabled - if helpdesk_settings.HELPDESK_AUTO_SUBSCRIBE_ON_TICKET_RESPONSE: + if helpdesk_settings.HELPDESK_AUTO_SUBSCRIBE_ON_TICKET_RESPONSE and request.user.is_authenticated(): ticketcc_string, SHOW_SUBSCRIBE = return_ticketccstring_and_show_subscribe(request.user, ticket) if SHOW_SUBSCRIBE: subscribe_staff_member_to_ticket(ticket, request.user) diff --git a/setup.py b/setup.py index 759a2b86..3b4f9ba0 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from distutils.util import convert_path from fnmatch import fnmatchcase from setuptools import setup, find_packages -version = '0.1.10' +version = '0.1.11' # Provided as an attribute, so you can append to these instead # of replicating them: