diff --git a/views/historymovies.tpl b/views/historymovies.tpl index 28459c629..13a69d0b1 100644 --- a/views/historymovies.tpl +++ b/views/historymovies.tpl @@ -87,7 +87,7 @@ % upgradable_criteria = (row[5], row[2], row[8]) % if upgradable_criteria in upgradable_movies: - % if row[7] in ast.literal_eval(str(row[6])): + % if row[7] and row[7] in ast.literal_eval(str(row[6])):
{{row[3]}}