Commit 2440ecfb authored by Łukasz Nowak's avatar Łukasz Nowak

Resolve correctly Preference path.

parent 125453d5
......@@ -1474,7 +1474,7 @@ class PreferenceTemplateItem(PathTemplateItem):
LOG("PreferenceTemplateItem, _resolvePath", WARNING,
"Should contain only one element")
# XXX hardcoded
return ['portal_preferences/%s' % id_list[0]]
return ['portal_preferences/%s' % id_list[-1]]
def install(self, context, trashbin, **kw):
"""
......
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