diff options
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 97a479505..98152f189 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1157,7 +1157,8 @@ class ArchaeologicalSiteForm(ManageOldType): def save(self, user): dct = self.cleaned_data dct['history_modifier'] = user - for typ in self.TYPES: + type_lst = self._types or self.TYPES + for typ in type_lst: if not dct[typ.key]: dct[typ.key] = None if typ.is_multiple: |