Commit 979c1b34 authored by Kevin Deldycke's avatar Kevin Deldycke

syntax error make zope unstratable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3527 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05682910
......@@ -1845,7 +1845,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
"""
script = self._getTypeBasedMethod('asPredicate', script_id=script_id)
if script is not None:
return = script()
return script()
return None
security.declareProtected(Permissions.View, 'get_local_permissions')
......
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