aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/ArtistComparer.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-24 15:53:36 -0400
committerGitHub <noreply@github.com>2017-08-24 15:53:36 -0400
commit421f506d3f5dcfd020355f2dbc37db3ed6493363 (patch)
tree1d9a69d530f59bf261b0fc8a63f2ceb1a1608fd3 /Emby.Server.Implementations/Sorting/ArtistComparer.cs
parent2bd37fd2c25cd740f4e9f69c4f9a766b10467ded (diff)
parent165069ce6337919ebc824d8cf0ef1ef945835718 (diff)
Merge pull request #2841 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Sorting/ArtistComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/ArtistComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/ArtistComparer.cs b/Emby.Server.Implementations/Sorting/ArtistComparer.cs
index edb195820..616aff673 100644
--- a/Emby.Server.Implementations/Sorting/ArtistComparer.cs
+++ b/Emby.Server.Implementations/Sorting/ArtistComparer.cs
@@ -36,7 +36,7 @@ namespace Emby.Server.Implementations.Sorting
return string.Empty;
}
- return audio.Artists.Count == 0 ? null : audio.Artists[0];
+ return audio.Artists.Length == 0 ? null : audio.Artists[0];
}
/// <summary>