Handle unrecognized ratings properly
This commit is contained in:
parent
46aa31b399
commit
fa3290a5d3
|
@ -1106,7 +1106,7 @@ namespace MediaBrowser.Controller.Entities
|
||||||
// Could not determine the integer value
|
// Could not determine the integer value
|
||||||
if (!value.HasValue)
|
if (!value.HasValue)
|
||||||
{
|
{
|
||||||
return true;
|
return !GetBlockUnratedValue(user.Policy);
|
||||||
}
|
}
|
||||||
|
|
||||||
return value.Value <= maxAllowedRating.Value;
|
return value.Value <= maxAllowedRating.Value;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user