diff --git a/smash/web/forms/appointment_form.py b/smash/web/forms/appointment_form.py
index b670a03220895f59af2b4dc9d57d7baace03ea18..2bc99e48341054ee355dcd6438a598101a5500ba 100644
--- a/smash/web/forms/appointment_form.py
+++ b/smash/web/forms/appointment_form.py
@@ -105,6 +105,7 @@ class AppointmentEditForm(AppointmentForm):
         location = self.cleaned_data['location']
         if self.user.locations.filter(id=location.id).count() == 0:
             self.add_error('location', "You cannot create appointment for this location")
+            return None
         else:
             return location