Commit 6b71dc75 authored by Nicolas Dumazet's avatar Nicolas Dumazet

_archive is not used for SkinTemplateItem, but _objects is

This code was never run, as _archive would always be empty


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42543 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c1a4eaf7
......@@ -1560,7 +1560,7 @@ class SkinTemplateItem(ObjectTemplateItem):
force = kw.get('force')
p = context.getPortalObject()
skin_tool = p.portal_skins
for relative_url in self._archive.keys():
for relative_url in self._objects.keys():
folder = p.unrestrictedTraverse(relative_url)
for obj in folder.objectValues(spec=('Z SQL Method',)):
fixZSQLMethod(p, obj)
......
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