diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-28 23:22:57 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-09 23:17:54 +0200 |
| commit | 6032f31aa660e3b0fe1936217109f9fb47853ba3 (patch) | |
| tree | 2c1858fa4465714094d86457ca093294c9f097d2 /MediaBrowser.Api/SearchService.cs | |
| parent | 779f0c637f4c280561029535a5b2160f34813b53 (diff) | |
Use CultureInvariant string conversion for Guids
Diffstat (limited to 'MediaBrowser.Api/SearchService.cs')
| -rw-r--r-- | MediaBrowser.Api/SearchService.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Api/SearchService.cs b/MediaBrowser.Api/SearchService.cs index ecf07c912..6c67d4fb1 100644 --- a/MediaBrowser.Api/SearchService.cs +++ b/MediaBrowser.Api/SearchService.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using System.Linq; using MediaBrowser.Controller.Drawing; using MediaBrowser.Controller.Dto; @@ -305,7 +306,7 @@ namespace MediaBrowser.Api if (tag != null) { hint.ThumbImageTag = tag; - hint.ThumbImageItemId = itemWithImage.Id.ToString("N"); + hint.ThumbImageItemId = itemWithImage.Id.ToString("N", CultureInfo.InvariantCulture); } } } @@ -326,7 +327,7 @@ namespace MediaBrowser.Api if (tag != null) { hint.BackdropImageTag = tag; - hint.BackdropImageItemId = itemWithImage.Id.ToString("N"); + hint.BackdropImageItemId = itemWithImage.Id.ToString("N", CultureInfo.InvariantCulture); } } } |
