From 5dd4ed8bc968357749c7bf01b010cb32220d18ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Fri, 27 Jan 2006 08:32:35 +0000 Subject: [PATCH] action_list is not None git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5358 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 951b43030d..3d8fdf583f 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -4043,7 +4043,7 @@ Business Template is a set of definitions, such as skins, portal types and categ 'CatalogMultivalueKey' : '_catalog_multivalue_key_item', 'CatalogTopicKey' : '_catalog_topic_key_item', } - + object_id = REQUEST.object_id object_class = REQUEST.object_class # get objects @@ -4147,7 +4147,7 @@ Business Template is a set of definitions, such as skins, portal types and categ bt_hidden_content_type_list = [] bt_property_sheet_list = [] bt_base_category_list = [] - bt_action_list = getattr(self, 'template_action_path', []) + bt_action_list = getattr(self, 'template_action_path', []) or [] bt_action_list = list(bt_action_list) bt_portal_types_id_list = list(self.getTemplatePortalTypeIdList()) p = self.getPortalObject() -- GitLab