From 4c4b51e9cc9786f8cb31ad25b426a8e95ae147b8 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 13 Jul 2018 08:15:44 -0400 Subject: [PATCH] Fix for undefined variable in #108 --- views/historymovies.tpl | 2 ++ views/historyseries.tpl | 2 ++ views/movies.tpl | 2 ++ views/series.tpl | 2 ++ views/system.tpl | 2 ++ views/wantedmovies.tpl | 2 ++ views/wantedseries.tpl | 2 ++ 7 files changed, 14 insertions(+) diff --git a/views/historymovies.tpl b/views/historymovies.tpl index 0f170a141..dfc48efdb 100644 --- a/views/historymovies.tpl +++ b/views/historymovies.tpl @@ -89,6 +89,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1: