Private
Public Access
1
0

Merge branch 'hotfix/v2.18'

This commit is contained in:
Sander Roosendaal
2017-04-22 08:43:06 +02:00

View File

@@ -4202,7 +4202,7 @@ def workout_flexchart3_view(request,*args,**kwargs):
workstrokesonly = False
if request.method == 'POST' and 'savefavorite' in request.POST:
if not user.is_anonymous():
if not request.user.is_anonymous():
workstrokesonly = request.POST['workstrokesonlysave']
reststrokes = not workstrokesonly
r = Rower.objects.get(user=request.user)