The Free Software Media System - Server Backend & API
Properly handle ratings for which we can't determine a value
Eric Reed3aa1aff3719f
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.csindex c4917b0d1f..eaa9f84385 100644--- a/MediaBrowser.Controller/Entities/BaseItem.cs+++ b/MediaBrowser.Controller/Entities/BaseItem.cs@@ -1109,7 +1109,7 @@ namespace MediaBrowser.Controller.Entities// Could not determine the integer valueif (!value.HasValue){- return true;+ return !GetBlockUnratedValue(user.Policy);}return value.Value <= maxAllowedRating.Value;