mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 15:32:31 +01:00
Adding seasons to series will also unmonitor season 0
This commit is contained in:
parent
feda4a9b67
commit
6057bf187d
@ -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 });
|
||||
}
|
||||
}
|
||||
|
@ -71,7 +71,6 @@ namespace NzbDrone.Host.Owin
|
||||
}
|
||||
|
||||
throw ex.InnerException;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user