mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-30 17:25:40 +02:00
fixes #411 - Parental Control issue
This commit is contained in:
parent
f7bce0bc3c
commit
0fb515d209
|
@ -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