Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'origin/tryout'

  • Loading branch information...
commit b72940037aa9d575aa5cea2a39099f73a19ddd0f 2 parents 921c04b + c370baf
@sander authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plapp/views.py
View
4 plapp/views.py
@@ -403,8 +403,8 @@ def add_dates(request):
appointment = form.cleaned_data['id']
user = plauth.models.User.get_signed_in(request)
- if not user or appointment.initiator != user \
- or not appointment.propose_more: raise http.Http404
+ if (not user) or (appointment.initiator != user \
+ and not appointment.propose_more): raise http.Http404
invitee = models.Invitee.objects.all().get(user=user,
appointment=appointment)
Please sign in to comment.
Something went wrong with that request. Please try again.