Commit 5f0eabfe authored by Aurel's avatar Aurel

dn not duplicate entry of actions when guessing them


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e18d04bf
...@@ -4167,7 +4167,9 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -4167,7 +4167,9 @@ Business Template is a set of definitions, such as skins, portal types and categ
for bc_id in base_category_list: for bc_id in base_category_list:
bt_base_category_list.append(id+' | '+bc_id) bt_base_category_list.append(id+' | '+bc_id)
for act_id in action_list: for act_id in action_list:
bt_action_list.append(id+' | '+act_id) action_id = id+' | '+act_id
if action_id not in bt_action_list:
bt_action_list.append(action_id)
bt_allowed_content_type_list.sort() bt_allowed_content_type_list.sort()
bt_hidden_content_type_list.sort() bt_hidden_content_type_list.sort()
......
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