diff --git a/rowers/views.py b/rowers/views.py index 57547fd6..eea09e00 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -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)