mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Properly handle ratings for which we can't determine a value
This commit is contained in:
parent
b1b5d36f12
commit
3aa1aff371
@ -1109,7 +1109,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;
|
||||
|
Loading…
Reference in New Issue
Block a user