Index: cms/utils.py |
diff --git a/cms/utils.py b/cms/utils.py |
index cdb7eadf66bbef8e2debc0469857e73b0ce58161..0c7b8bea7e44da7c7b776acf6c4830c4010d927d 100644 |
--- a/cms/utils.py |
+++ b/cms/utils.py |
@@ -61,7 +61,7 @@ def get_page_params(source, locale, page, format=None, site_url_override=None): |
locales = [ |
l |
for l in source.list_locales() |
- if source.has_locale(locale, localefile) |
+ if source.has_locale(l, localefile) |
] |
if defaultlocale not in locales: |
locales.append(defaultlocale) |