forked from extern/django-helpdesk
Ensure queue locale is included in safe_template_context as reported by vvarp. This should close GH-56 without further issues - please reopen if required..
This commit is contained in:
parent
f8684e7b3f
commit
b4ffb91b9c
@ -289,7 +289,7 @@ def safe_template_context(ticket):
|
||||
}
|
||||
queue = ticket.queue
|
||||
|
||||
for field in ( 'title', 'slug', 'email_address', 'from_address'):
|
||||
for field in ( 'title', 'slug', 'email_address', 'from_address', 'locale'):
|
||||
attr = getattr(queue, field, None)
|
||||
if callable(attr):
|
||||
context['queue'][field] = attr()
|
||||
|
Loading…
Reference in New Issue
Block a user