mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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
|
||||
if (!value.HasValue)
|
||||
{
|
||||
return true;
|
||||
return !GetBlockUnratedValue(user.Policy);
|
||||
}
|
||||
|
||||
return value.Value <= maxAllowedRating.Value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user