This commit is contained in:
tidusjar 2016-05-26 08:56:36 +01:00
parent 605878700d
commit c43e3a93d2
3 changed files with 4 additions and 3 deletions

View file

@ -627,7 +627,7 @@ namespace PlexRequests.UI.Modules
RequestedUsers = new List<string> { Username },
Issues = IssueState.None,
ImdbId = showInfo.externals?.imdb ?? string.Empty,
SeasonCount = showInfo.seasonCount
SeasonCount = showInfo.seasonCount,
};
var seasonsList = new List<int>();
@ -645,6 +645,7 @@ namespace PlexRequests.UI.Modules
model.SeasonsRequested = "All";
break;
default:
model.SeasonsRequested = seasons;
var split = seasons.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var seasonsCount = new int[split.Length];
for (var i = 0; i < split.Length; i++)