Commit 046e68db authored by Nicolas Delaby's avatar Nicolas Delaby

Do not stop iteration after first skin_folder iteration, inspect all of them

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30557 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7ad72fe
...@@ -752,7 +752,6 @@ class ERP5Form(ZMIForm, ZopePageTemplate): ...@@ -752,7 +752,6 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
if folder_id in template_skin_id_list: if folder_id in template_skin_id_list:
for skin_folder_id in template_skin_id_list: for skin_folder_id in template_skin_id_list:
iterate(getattr(skins_tool, skin_folder_id)) iterate(getattr(skins_tool, skin_folder_id))
break
iterate(skins_tool.erp5_core) iterate(skins_tool.erp5_core)
return form_list return form_list
......
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