mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
fixed year selection issue
This commit is contained in:
@@ -703,7 +703,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
{
|
||||
if (value <= 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException();
|
||||
throw new ArgumentOutOfRangeException("Years less than or equal to 0 are invalid.");
|
||||
}
|
||||
|
||||
return GetItemByName<Year>(ConfigurationManager.ApplicationPaths.YearPath, value.ToString(UsCulture));
|
||||
|
||||
Reference in New Issue
Block a user