diff --git a/rowers/views.py b/rowers/views.py index da37dbea..2bd531bd 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -4201,6 +4201,7 @@ def workout_flexchart3_view(request,*args,**kwargs): if request.method == 'POST' and 'savefavorite' in request.POST: workstrokesonly = request.POST['workstrokesonlysave'] reststrokes = not workstrokesonly + r = Rower.objects.get(user=request.user) f = FavoriteChart(user=r,xparam=xparam, yparam1=yparam1,yparam2=yparam2, plottype=plottype,workouttype=workouttype,