diff options
Diffstat (limited to 'archaeological_operations/forms.py')
| -rw-r--r-- | archaeological_operations/forms.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 529a0c2fb..acd0fb099 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -417,7 +417,7 @@ class RecordRelationsForm(ManageOldType, forms.Form):              raise forms.ValidationError(                  _(u"You should select a relation type."))          if self.left_record and \ -                str(cleaned_data.get('right_record')) == str( +                str(cleaned_data.get('right_record', None)) == str(                      self.left_record.pk):              raise forms.ValidationError(                  _(u"An operation cannot be related to herself.")) | 
