diff options
| author | Bond_009 <bond.009@outlook.com> | 2025-01-22 17:31:52 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-01-22 17:31:52 +0100 |
| commit | 47f798827b956dbacfed2a870bab02e7ffc0da12 (patch) | |
| tree | 1cdb26a0935d994ff2b249119ca4a400d006aa4f /MediaBrowser.Controller/Entities/TV/Season.cs | |
| parent | 5612d2187b8b6d40c4767454a06c8662f02ad6fd (diff) | |
Remove useless checks and dead code
Diffstat (limited to 'MediaBrowser.Controller/Entities/TV/Season.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/TV/Season.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Season.cs b/MediaBrowser.Controller/Entities/TV/Season.cs index 181b9be2b..c717c5cbb 100644 --- a/MediaBrowser.Controller/Entities/TV/Season.cs +++ b/MediaBrowser.Controller/Entities/TV/Season.cs @@ -132,7 +132,7 @@ namespace MediaBrowser.Controller.Entities.TV var series = Series; if (series is not null) { - return series.PresentationUniqueKey + "-" + (IndexNumber ?? 0).ToString("000", CultureInfo.InvariantCulture); + return series.PresentationUniqueKey + "-" + IndexNumber.Value.ToString("000", CultureInfo.InvariantCulture); } } |
