Commit f99c36c9 authored by Ivan Tyagov's avatar Ivan Tyagov

Fix unbound error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35724 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a774878e
......@@ -626,6 +626,7 @@ class ContributionTool(BaseTool):
NOTE: implementation needs to be done.
"""
document = None
# First of all, make sure do not try to create an existing document
if container_path is not None and id is not None:
container = self.restrictedTraverse(container_path)
......
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