Commit d58ffc5e authored by Łukasz Nowak's avatar Łukasz Nowak

YATTA.

parent 1afe5c08
......@@ -4029,7 +4029,7 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem):
portal = context.getPortalObject()
for object_path in object_list:
obj = portal.unrestrictedTraverse(object_path)
if obj.getPortalObjec().portal_workflow.isTransitionPossible(obj,
if obj.getPortalObject().portal_workflow.isTransitionPossible(obj,
'validate'):
obj.validate()
......
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