Commit b99d3299 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

Fixup! ERP5Configurator PathConfiguratorItem

parent a70bf773
......@@ -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