Skip to content

Commit

Permalink
Merge pull request #1493 from alesdotio/fallbacks-patch
Browse files Browse the repository at this point in the history
fixed a bug in language fallback settings
  • Loading branch information
digi604 committed Oct 25, 2012
2 parents af529e6 + 6e9cbf0 commit 96003df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/conf/patch.py
Expand Up @@ -122,7 +122,7 @@ def post_patch_check():
tmp_language['public'] = True
if tmp_language['public']:
fallbacks.append(tmp_language['code'])
if fallbacks:
if fallbacks and language['code'] in fallbacks:
fallbacks.remove(language['code'])
if settings.CMS_LANGUAGES.has_key('default'):
language['fallbacks'] = settings.CMS_LANGUAGES['default'].get('fallbacks', fallbacks)
Expand Down

0 comments on commit 96003df

Please sign in to comment.