mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
fixes #411 - Parental Control issue
This commit is contained in:
parent
f7bce0bc3c
commit
0fb515d209
1 changed files with 1 additions and 1 deletions
|
@ -1009,7 +1009,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 !user.Configuration.BlockNotRated;
|
||||||
}
|
}
|
||||||
|
|
||||||
return value.Value <= user.Configuration.MaxParentalRating.Value;
|
return value.Value <= user.Configuration.MaxParentalRating.Value;
|
||||||
|
|
Loading…
Reference in a new issue