Commit 43bf6676 authored by Michal Čihař's avatar Michal Čihař

There can be none user

parent 6c82d0b0
......@@ -1617,6 +1617,8 @@ class Translation(models.Model):
'''
Returns formatted author name with email.
'''
if user is None:
return _('None')
# Get full name from database
full_name = user.get_full_name()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment