diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-23 00:05:29 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-23 00:05:29 -0400 |
| commit | fab675a6aaf4755562134b01e9425eebb0d46c98 (patch) | |
| tree | a691c95a612ff689401350d62f88b3bba9b26c1d /MediaBrowser.Controller | |
| parent | 99dba814f405f08111b36ace4ba8a7fc7a273245 (diff) | |
update translations
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 4 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index e75f17f9a0..0d13fd9434 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -1042,12 +1042,12 @@ namespace MediaBrowser.Controller.Entities var rating = CustomRatingForComparison; - if (string.IsNullOrEmpty(rating)) + if (string.IsNullOrWhiteSpace(rating)) { rating = OfficialRatingForComparison; } - if (string.IsNullOrEmpty(rating)) + if (string.IsNullOrWhiteSpace(rating)) { return !GetBlockUnratedValue(user.Configuration); } diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 3907217be5..6363da6960 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -164,14 +164,12 @@ namespace MediaBrowser.Controller.Entities } } - /// <summary> - /// Never want folders to be blocked by "BlockNotRated" - /// </summary> [IgnoreDataMember] public override string OfficialRatingForComparison { get { + // Never want folders to be blocked by "BlockNotRated" if (this is Series) { return base.OfficialRatingForComparison; |
