diff --git a/NzbDrone.Core/Datastore/Migration/020_add_year_and_seasons_to_series.cs b/NzbDrone.Core/Datastore/Migration/020_add_year_and_seasons_to_series.cs index 30323d4d2..0521d3bdb 100644 --- a/NzbDrone.Core/Datastore/Migration/020_add_year_and_seasons_to_series.cs +++ b/NzbDrone.Core/Datastore/Migration/020_add_year_and_seasons_to_series.cs @@ -43,6 +43,11 @@ namespace NzbDrone.Core.Datastore.Migration int seasonNumber = seasonReader.GetInt32(0); bool monitored = seasonReader.GetBoolean(1); + if (seasonNumber == 0) + { + monitored = false; + } + seasons.Add(new { seasonNumber, monitored }); } } diff --git a/NzbDrone.Host/Owin/OwinHostController.cs b/NzbDrone.Host/Owin/OwinHostController.cs index c11c0f99d..b4d8d24ba 100644 --- a/NzbDrone.Host/Owin/OwinHostController.cs +++ b/NzbDrone.Host/Owin/OwinHostController.cs @@ -71,7 +71,6 @@ namespace NzbDrone.Host.Owin } throw ex.InnerException; - } }