mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 00:04:50 +02:00
Merge pull request #586 from aesdev/master
Fix for Email Issue while pulling CC and ValueError for public homepage
This commit is contained in:
@ -102,6 +102,8 @@ def view_ticket(request):
|
||||
ticket = Ticket.objects.get(id=ticket_id, submitter_email__iexact=email)
|
||||
except ObjectDoesNotExist:
|
||||
error_message = _('Invalid ticket ID or e-mail address. Please try again.')
|
||||
except ValueError:
|
||||
error_message = _('Invalid ticket ID or e-mail address. Please try again.')
|
||||
else:
|
||||
if request.user.is_staff:
|
||||
redirect_url = reverse('helpdesk:view', args=[ticket_id])
|
||||
|
Reference in New Issue
Block a user