Commit ad762ce1 authored by Romain Courteaud's avatar Romain Courteaud

Fix variable name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26098 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bcfaecad
......@@ -380,7 +380,7 @@ class ContributionTool(BaseTool):
document.activate().Document_convertToBaseFormatAndDiscoverMetadata(
file_name=name, user_login=user_login)
else:
if document.isExternalDocument():
if existing_document.isExternalDocument():
document = existing_document
# If this is an external document, update its content
# document.activate().updateContentFromURL() # XXX I think this is no longer useful with alarms
......
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