fix: handle old formdata without data[%d_display]
This commit is contained in:
parent
2f231db19c
commit
fee585b041
|
@ -281,7 +281,7 @@ class FormStatusPage(Directory):
|
|||
if not self.filled.data.has_key(f.id):
|
||||
continue
|
||||
|
||||
if f.store_display_value:
|
||||
if f.store_display_value and ('%s_display' % f.id) in self.filled.data:
|
||||
value = self.filled.data['%s_display' % f.id]
|
||||
else:
|
||||
value = self.filled.data[f.id]
|
||||
|
|
Loading…
Reference in New Issue