diff --git a/CHANGES.md b/CHANGES.md index b4834257..cb6fed00 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,11 @@ +### 0.16.8 (2018-05-17 02:00:00 UTC) + +* Fix changing master id via search method + + ### 0.16.7 (2018-05-14 02:40:00 UTC) * Fix name_parser_tests for test_extra_info_no_name diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index e94bd491..c30bd6d2 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2210,9 +2210,9 @@ class Home(MainHandler): t = PageTemplate(web_handler=self, file='editShow.tmpl') t.submenu = self.HomeMenu() - t.expand_ids = all([kwargs.get('tvsrc'), kwargs.get('srcid')]) + t.expand_ids = all([kwargs.get('tvsrc'), helpers.tryInt(kwargs.get('srcid'))]) t.tvsrc = int(kwargs.get('tvsrc', 0)) - t.srcid = kwargs.get('srcid') + t.srcid = helpers.tryInt(kwargs.get('srcid')) myDB = db.DBConnection() t.seasonResults = myDB.select(