Skip to content
Snippets Groups Projects
Commit f2b936a7 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix

parent ad760dbb
Branches
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class InformationLocale(models.Model):
)
except:
# Use the first and best
return InformationLocale.objects.get(information=Information.objects.filter(pk=information_id))[0]
return InformationLocale.objects.filter(information=Information.objects.get(pk=information_id))[0]
@staticmethod
def get_heading_with_fallback(information_id, language_code=translation.get_language()):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment