Commit aa008669 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not use getRelativeUrl for domains.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 357214bb
......@@ -1056,7 +1056,7 @@ class ListBoxRenderer:
# FIXME: this is a bad hack. DomainSelection should use
# portal_type to determine the type of the object instead
# of whether it is a string or not.
root_dict[base_domain] = root.getRelativeUrl()
root_dict[base_domain] = domain
if root is None:
try:
root_dict[None] = portal_object.restrictedTraverse(domain)
......
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