From e544d5844bc9f56c1839277dfe998923c3cd5fcc Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 6 Jul 2018 16:29:18 +0200 Subject: [PATCH] bug fix typo user is auth --- rowers/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/views.py b/rowers/views.py index 0edd5eda..f5f54d29 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -918,7 +918,7 @@ def hasplannedsessions(user): result = user.is_authenticated() and (r.rowerplan=='coach' or r.rowerplan=='plan') if not result and r.plantrialexpires: - result = user.is_authenticaded() and r.rowerplan=='basic' and r.plantrialexpires >= datetime.date.today() + result = user.is_authenticated() and r.rowerplan=='basic' and r.plantrialexpires >= datetime.date.today() else: result = False