diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index a10267c5483cd0a469039a0eb093f1c808bba60d..4e7589f6f378f876a9777ad6059fc280958d2908 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -197,6 +197,9 @@ def registerSkinFolder(skin_tool, skin_folder): except AttributeError: skin_selection_list = skin_tool.getSkinSelections() + if isinstance(skin_selection_list, basestring): + skin_selection_list = skin_selection_list.split() + for skin_name in skin_selection_list: if (skin_name not in skin_tool.getSkinSelections()) and \