From 3e2e66fc1bcda780ccb84a37bb77edbe422ba626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Thu, 12 Jul 2018 19:27:05 +0200 Subject: [PATCH] fix talk action issue --- cfp/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfp/views.py b/cfp/views.py index 9d2cc81..88a217f 100644 --- a/cfp/views.py +++ b/cfp/views.py @@ -709,8 +709,8 @@ def talk_list(request): if data['room']: talk.room = Room.objects.get(site=request.conference.site, slug=data['room']) talk.save() - email = int(data['email']) - if email: + if data['email']: + email = int(data['email']) if email == TalkActionForm.EMAIL_TALKS: request.session['talk-email-list'] = data['talks'] return redirect(reverse('talk-email'))