Commit 2806e0d0 authored by Romain Courteaud's avatar Romain Courteaud

Reverse previous commit, which may not be safe enough.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b73313f
......@@ -328,7 +328,9 @@ class DocumentConstructor(Method):
def __call__(self, folder, id, REQUEST=None,
activate_kw=None, is_indexable=None, **kw):
o = self.klass(id, title=None)
# o = self.klass(id, title=None)
# XXX Is it safe to set the title to None ?
o = self.klass(id)
if activate_kw is not None:
o._v_activate_kw = activate_kw
if is_indexable 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