Commit 70bda068 authored by Sebastien Robin's avatar Sebastien Robin

an import was missing


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@164 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4985e7d4
......@@ -21,9 +21,12 @@
##############################################################################
from Products.Formulator.Field import Field
from AccessControl import ClassSecurityInfo
class PatchedField:
security = ClassSecurityInfo()
security.declareProtected('Access contents information',
'generate_field_key')
def generate_field_key(self, validation=0, key=None):
......@@ -146,4 +149,4 @@ class PatchedMultiSelectionValidator(MultiSelectionValidator):
# everything checks out
return result
MultiSelectionValidator.validate = PatchedMultiSelectionValidator.validate
\ No newline at end of file
MultiSelectionValidator.validate = PatchedMultiSelectionValidator.validate
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