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

Fix attribute name

Fixes rb#467, rb#466
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 54de4f92
......@@ -634,7 +634,7 @@ def auto_translation(request, project, subproject, lang):
)
else:
subprj = SubProject.objects.get(
id=autoform.cleaned_data['id']
id=autoform.cleaned_data['subproject']
)
if not subprj.has_acl(request.user):
raise PermissionDenied()
......
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