diff --git a/sapl/sessao/forms.py b/sapl/sessao/forms.py index f77a21ac0..3be7db1fd 100644 --- a/sapl/sessao/forms.py +++ b/sapl/sessao/forms.py @@ -62,6 +62,9 @@ class SessaoPlenariaForm(ModelForm): def clean(self): super(SessaoPlenariaForm, self).clean() + if not self.is_valid(): + return self.cleaned_data + instance = self.instance num = self.cleaned_data['numero']