mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Handle unrecognized ratings properly
This commit is contained in:
parent
46aa31b399
commit
fa3290a5d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue