diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-07-25 12:52:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-25 12:52:51 -0400 |
| commit | 7f26bd109171041f9e27a51f7cd3969fb2e8546d (patch) | |
| tree | 29b0c00082b98f31fecdc718f61ec7c627690487 /Emby.Server.Implementations/Sorting/ProductionYearComparer.cs | |
| parent | 45ec0ed8b5cd92226ff7767d654dd93b1a2036f5 (diff) | |
| parent | 3c9727d36cdf6749106ad398835484810d0c6a22 (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.cs | 2 |
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; } |
