flexchart advance error when logged out bug fix
This commit is contained in:
@@ -3003,7 +3003,8 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
favorites = FavoriteChart.objects.filter(user=r,
|
||||
workouttype__in=[workouttype,'both']).order_by("id")
|
||||
maxfav = len(favorites)-1
|
||||
except:
|
||||
except:
|
||||
favorites = None
|
||||
maxfav = 0
|
||||
|
||||
# check if favoritenr is not out of range
|
||||
|
||||
Reference in New Issue
Block a user