mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Use StringComparison.Ordinal
This commit is contained in:
parent
90b941b3f6
commit
64071873a0
|
@ -148,8 +148,8 @@ namespace MediaBrowser.Providers.Plugins.Tmdb
|
||||||
private async Task<TvGroupCollection> GetSeriesGroupAsync(int tvShowId, string displayOrder, string language, string imageLanguages, CancellationToken cancellationToken)
|
private async Task<TvGroupCollection> GetSeriesGroupAsync(int tvShowId, string displayOrder, string language, string imageLanguages, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
TvGroupType? groupType =
|
TvGroupType? groupType =
|
||||||
displayOrder == "absolute" ? TvGroupType.Absolute :
|
string.Equals(displayOrder, "absolute", StringComparison.Ordinal) ? TvGroupType.Absolute :
|
||||||
displayOrder == "dvd" ? TvGroupType.DVD :
|
string.Equals(displayOrder, "dvd", StringComparison.Ordinal) ? TvGroupType.DVD :
|
||||||
null;
|
null;
|
||||||
|
|
||||||
if (groupType == null)
|
if (groupType == null)
|
||||||
|
|
Loading…
Reference in a new issue