Commit 2020c3cd authored by Aurel's avatar Aurel

fix missing variable at uninstall of portal type properties


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4940 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24780900
......@@ -1162,6 +1162,7 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
def uninstall(self, context, **kw):
object_path = kw.get('object_path', None)
p = context.getPortalObject()
pt = p.unrestrictedTraverse('portal_types')
if object_path is not None:
object_keys = [object_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