Permalink
Browse files

Merge remote-tracking branch 'origin/tryout'

  • Loading branch information...
2 parents 921c04b + c370baf commit b72940037aa9d575aa5cea2a39099f73a19ddd0f @sander committed Mar 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plapp/views.py
View
@@ -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)

0 comments on commit b729400

Please sign in to comment.