Commit 9e848cea authored by Jérome Perrin's avatar Jérome Perrin

amendements to 43675 this code is duplicated in validator

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43676 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bd1d05ce
...@@ -535,7 +535,7 @@ class MatrixBoxValidator(Validator.Validator): ...@@ -535,7 +535,7 @@ class MatrixBoxValidator(Validator.Validator):
error_list = [] error_list = []
cell_getter_method_id = field.get_value('cell_getter_method') cell_getter_method_id = field.get_value('cell_getter_method')
if cell_getter_method_id not in (None, ''): if cell_getter_method_id not in (None, ''):
cell_getter_method = getattr(here, cell_getter_method_id) cell_getter_method = getattr(context, cell_getter_method_id)
else: else:
cell_getter_method = context.getCell cell_getter_method = context.getCell
......
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