Fixes #181. Thanks @AntonOfTheWoods

This commit is contained in:
Ross Poulton 2013-09-16 11:54:46 +10:00
parent 0473ff089a
commit 98340b524d
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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: