fix: handle old formdata without data[%d_display]

This commit is contained in:
Thomas NOËL 2012-09-05 14:57:56 +02:00
parent 2f231db19c
commit fee585b041
1 changed files with 1 additions and 1 deletions

View File

@ -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]