Browse Source

revert parental control change

Luke Pulverenti 10 năm trước cách đây
mục cha
commit
2667788b00
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

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

@@ -1109,7 +1109,7 @@ namespace MediaBrowser.Controller.Entities
             // Could not determine the integer value
             if (!value.HasValue)
             {
-                return !GetBlockUnratedValue(user.Policy);
+                return true;
             }
 
             return value.Value <= maxAllowedRating.Value;