diff --git a/CHANGES.md b/CHANGES.md index b1363a26..f570336e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,6 +33,11 @@ * Fix the return flow from calls to the redirect function from executing incorrect code +### 0.7.2 (2015-03-10 17:05:00 UTC) + +* Fix Add From Trending page (indexer_id can be "None" which causes white screen when clicking "Add Show") + + ### 0.7.1 (2015-03-10 17:00:00 UTC) * Fix error page when clicking "Add Recommended" diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index c4920012..8d784ce3 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2240,7 +2240,7 @@ class NewHomeAddShows(Home): return t.respond() def addTraktShow(self, indexer_id, showName): - if helpers.findCertainShow(sickbeard.showList, int(indexer_id)): + if helpers.findCertainShow(sickbeard.showList, config.to_int(indexer_id, '')): return return self.newShow('|'.join(['', '', indexer_id, showName]), use_show_name=True)