Commit 6296854a authored by Yoshinori Okuji's avatar Yoshinori Okuji

A local configuration should be wrapped with the template instead of the template tool.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4693 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 767eef03
......@@ -118,7 +118,7 @@ class TemplateTool (BaseTool):
if not hasattr(self, '_local_configuration'): self._local_configuration = PersistentMapping()
local_configuration = self._local_configuration.get(template_id, None)
if local_configuration is not None:
return local_configuration.__of__(self)
return local_configuration.__of__(template)
return None
security.declareProtected( 'Import/Export objects', 'save' )
......
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