Skip to content

Commit 86eb3d2

Browse files
Kegan HoltzhausenKegan Holtzhausen
authored andcommitted
removed second fallback call
1 parent 0c31731 commit 86eb3d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cms/plugin_rendering.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def render_placeholder(placeholder, context_to_copy, name_fallback="Placeholder"
116116
fallbacks = get_fallback_languages(lang)
117117
if (len(plugins) == 0 and placeholder and fallbacks and
118118
get_placeholder_conf("language_fallback", placeholder.slot, template, False)):
119-
fallbacks = get_fallback_languages(lang)
120119
for fallback_language in fallbacks:
121120
plugins = [plugin for plugin in get_plugins(request, placeholder, fallback_language)]
122121
if plugins:

0 commit comments

Comments
 (0)