fixes #411 - Parental Control issue

This commit is contained in:
Luke Pulverenti 2013-07-29 15:50:35 -04:00
parent f7bce0bc3c
commit 0fb515d209

View file

@ -1009,7 +1009,7 @@ namespace MediaBrowser.Controller.Entities
// Could not determine the integer value
if (!value.HasValue)
{
return true;
return !user.Configuration.BlockNotRated;
}
return value.Value <= user.Configuration.MaxParentalRating.Value;