Handle unrecognized ratings properly

This commit is contained in:
Eric Reed 2015-09-03 08:43:46 -04:00
parent 46aa31b399
commit fa3290a5d3

View File

@ -1106,7 +1106,7 @@ namespace MediaBrowser.Controller.Entities
// Could not determine the integer value
if (!value.HasValue)
{
return true;
return !GetBlockUnratedValue(user.Policy);
}
return value.Value <= maxAllowedRating.Value;