fixed year selection issue

This commit is contained in:
Luke Pulverenti
2014-01-16 12:56:50 -05:00
parent b469012304
commit 266498f92c
2 changed files with 3 additions and 2 deletions

View File

@@ -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));