Commit 6988baa9 authored by Yoshinori Okuji's avatar Yoshinori Okuji

There was a typo in the document constructor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13786 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee9e6920
......@@ -337,7 +337,7 @@ class DocumentConstructor(Method):
folder._setObject(id, o)
o = folder._getOb(id)
# if no activity tool, the object has already an uid
if getattr(aq_base(o),' uid', None) is None:
if getattr(aq_base(o), 'uid', None) is None:
o.uid = folder.portal_catalog.newUid()
if kw: o._edit(force_update=1, **kw)
if REQUEST is not 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