aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GenresService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-08-07 12:00:20 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-08-07 12:00:20 -0400
commit5225e054cd1759d9d7860e53cad9bea07226a515 (patch)
treefad1c3c75f51ea91a0daee977acbdcdc1b76394f /MediaBrowser.Api/UserLibrary/GenresService.cs
parentb1b4e77178922249b6e523e11110c76472c57bf1 (diff)
reduced list enumerations
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GenresService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs
index 7d434aef0..f10ca9cf4 100644
--- a/MediaBrowser.Api/UserLibrary/GenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GenresService.cs
@@ -157,7 +157,7 @@ namespace MediaBrowser.Api.UserLibrary
{
var name = DeSlugGenreName(request.Name, LibraryManager);
- var items = GetItems(request.UserId).Where(i => i.Genres != null && i.Genres.Contains(name, StringComparer.OrdinalIgnoreCase)).ToList();
+ var items = GetItems(request.UserId).Where(i => i.Genres.Contains(name, StringComparer.OrdinalIgnoreCase)).ToList();
var counts = new ItemByNameCounts
{