Explorar o código

fixes #411 - Parental Control issue

Luke Pulverenti %!s(int64=12) %!d(string=hai) anos
pai
achega
0fb515d209
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -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;