aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/TV/Season.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2025-01-22 17:31:52 +0100
committerBond_009 <bond.009@outlook.com>2025-01-22 17:31:52 +0100
commit47f798827b956dbacfed2a870bab02e7ffc0da12 (patch)
tree1cdb26a0935d994ff2b249119ca4a400d006aa4f /MediaBrowser.Controller/Entities/TV/Season.cs
parent5612d2187b8b6d40c4767454a06c8662f02ad6fd (diff)
Remove useless checks and dead code
Diffstat (limited to 'MediaBrowser.Controller/Entities/TV/Season.cs')
-rw-r--r--MediaBrowser.Controller/Entities/TV/Season.cs2
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);
}
}