aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/ProductionYearComparer.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2026-07-25 12:52:51 -0400
committerGitHub <noreply@github.com>2026-07-25 12:52:51 -0400
commit7f26bd109171041f9e27a51f7cd3969fb2e8546d (patch)
tree29b0c00082b98f31fecdc718f61ec7c627690487 /Emby.Server.Implementations/Sorting/ProductionYearComparer.cs
parent45ec0ed8b5cd92226ff7767d654dd93b1a2036f5 (diff)
parent3c9727d36cdf6749106ad398835484810d0c6a22 (diff)
Merge pull request #17399 from Shadowghost/fix-extra-year
Fix incorrect year on local trailers
Diffstat (limited to 'Emby.Server.Implementations/Sorting/ProductionYearComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/ProductionYearComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/ProductionYearComparer.cs b/Emby.Server.Implementations/Sorting/ProductionYearComparer.cs
index 9aec87f183..8774bd8d4f 100644
--- a/Emby.Server.Implementations/Sorting/ProductionYearComparer.cs
+++ b/Emby.Server.Implementations/Sorting/ProductionYearComparer.cs
@@ -39,7 +39,7 @@ namespace Emby.Server.Implementations.Sorting
return 0;
}
- if (x.ProductionYear.HasValue)
+ if (x.ProductionYear is not null)
{
return x.ProductionYear.Value;
}