Commit 89a66f50 authored by Jean-Paul Smets's avatar Jean-Paul Smets

provide None as default to getDomainByPath so that in case of change of...

provide None as default to getDomainByPath so that in case of change of categories or domains, persistent selections do not break the interface.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15218 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 411cb7f8
......@@ -1108,7 +1108,7 @@ class ListBoxRenderer:
if root is not None :
root_dict[base_domain] = ('portal_categories', domain)
elif domain_tool is not None:
root = domain_tool.getDomainByPath(domain)
root = domain_tool.getDomainByPath(domain, None)
if root is not None:
root_dict[base_domain] = ('portal_domains', domain)
if root is None:
......
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