Commit e062ec54 authored by Jérome Perrin's avatar Jérome Perrin

'value' might be undefined at this point


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19726 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc59e3dc
...@@ -440,6 +440,7 @@ class MatrixBoxValidator(Validator.Validator): ...@@ -440,6 +440,7 @@ class MatrixBoxValidator(Validator.Validator):
key = 'field_' + my_field.id + '_cell_%s_%s_%s' % (i,j,k) key = 'field_' + my_field.id + '_cell_%s_%s_%s' % (i,j,k)
attribute_value = my_field.get_value('default', attribute_value = my_field.get_value('default',
cell=cell, cell_index=kw, cell_position = (i,j,k)) cell=cell, cell_index=kw, cell_position = (i,j,k))
value = None
try : try :
value = my_field.validator.validate( value = my_field.validator.validate(
my_field, key, REQUEST) my_field, key, REQUEST)
......
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