mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
Fixed #270
This commit is contained in:
parent
605878700d
commit
c43e3a93d2
3 changed files with 4 additions and 3 deletions
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue