Commit c26b8bc2 authored by Michal Čihař's avatar Michal Čihař

Fix variable name

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 9dd7a36b
......@@ -466,7 +466,7 @@ def translate(request, project, subproject, lang):
# Check locks
user_locked = translation.is_user_locked(request)
project_locked = translation.subproject.locked
own_lock = self.lock_user == request.user
own_lock = translation.lock_user == request.user
locked = project_locked or user_locked
# Search results
......
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