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:
diff --git a/views/historyseries.tpl b/views/historyseries.tpl index a0d9a2664..e79180012 100644 --- a/views/historyseries.tpl +++ b/views/historyseries.tpl @@ -104,6 +104,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1:
diff --git a/views/movies.tpl b/views/movies.tpl index eadbdb0b4..e6933da9f 100644 --- a/views/movies.tpl +++ b/views/movies.tpl @@ -104,6 +104,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1:
diff --git a/views/series.tpl b/views/series.tpl index f40ccdb91..9fd8169f2 100644 --- a/views/series.tpl +++ b/views/series.tpl @@ -128,6 +128,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1:
diff --git a/views/system.tpl b/views/system.tpl index 66787b226..bb3e8f929 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -91,6 +91,8 @@
+ %try: page_size + %except NameError: page_size = "25" %if page_size != -1:
diff --git a/views/wantedmovies.tpl b/views/wantedmovies.tpl index 5a4815d4a..261359332 100644 --- a/views/wantedmovies.tpl +++ b/views/wantedmovies.tpl @@ -83,6 +83,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1:
diff --git a/views/wantedseries.tpl b/views/wantedseries.tpl index a48b86ba1..b2ae4f9d6 100644 --- a/views/wantedseries.tpl +++ b/views/wantedseries.tpl @@ -90,6 +90,8 @@ %end + %try: page_size + %except NameError: page_size = "25" %if page_size != -1: