aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2015-08-20 09:05:41 -0400
committerEric Reed <ebr@mediabrowser3.com>2015-08-20 09:05:41 -0400
commit3aa1aff3719f279304cbacefd2aae1d217f6833f (patch)
tree901e713dc7e886520dadb2026da711fa2805cbb3
parentb1b5d36f12ae19487cd430f1e05ac56cd8553661 (diff)
Properly handle ratings for which we can't determine a value
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index c4917b0d1..eaa9f8438 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 value
if (!value.HasValue)
{
- return true;
+ return !GetBlockUnratedValue(user.Policy);
}
return value.Value <= maxAllowedRating.Value;