Commit 34c91c85 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Xiaowu Zhang

Fixup! ERP5Configurator PathConfiguratorItem

parent 338ad2ba
......@@ -72,8 +72,8 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
"%s %s should be created" %(portal_type, document_id)))
if fixit:
document_init_dict = { 'portal_type' : portal_type,
'document_id': document_id }
if title in document_dict:
'id': document_id }
if 'title' in document_dict:
document_init_dict['title'] = document_dict.pop('title')
document = container.newContent(**document_init_dict)
document.edit(**document_dict)
......
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