Merge branch 'hotfix/v2.18'
This commit is contained in:
@@ -4202,7 +4202,7 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
|||||||
workstrokesonly = False
|
workstrokesonly = False
|
||||||
|
|
||||||
if request.method == 'POST' and 'savefavorite' in request.POST:
|
if request.method == 'POST' and 'savefavorite' in request.POST:
|
||||||
if not user.is_anonymous():
|
if not request.user.is_anonymous():
|
||||||
workstrokesonly = request.POST['workstrokesonlysave']
|
workstrokesonly = request.POST['workstrokesonlysave']
|
||||||
reststrokes = not workstrokesonly
|
reststrokes = not workstrokesonly
|
||||||
r = Rower.objects.get(user=request.user)
|
r = Rower.objects.get(user=request.user)
|
||||||
|
|||||||
Reference in New Issue
Block a user