Fix bug when editing a Person
This commit is contained in:
parent
562d7b48bc
commit
8f69b07ee2
|
@ -180,7 +180,7 @@ class PersonView(MasterView):
|
|||
names['middle'] = data['middle_name']
|
||||
if 'last_name' in form:
|
||||
names['last'] = data['last_name']
|
||||
if 'display_name' in form:
|
||||
if 'display_name' in form and 'display_name' not in form.readonly_fields:
|
||||
names['full'] = data['display_name']
|
||||
|
||||
# TODO: why do we find colander.null values in data at this point?
|
||||
|
|
Loading…
Reference in a new issue