diff options
| author | crobibero <cody@robibe.ro> | 2020-12-14 09:03:36 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-12-14 09:03:36 -0700 |
| commit | e0510909040a05d2b3170634ac2ef85a52ae184d (patch) | |
| tree | 549162a2226f58ffcd6609645f064c3f1f4b0b35 | |
| parent | a515ecbada489bb79e8bcce6fd1aabe6d81ce235 (diff) | |
Use proper array setter
| -rw-r--r-- | Jellyfin.Data/Entities/User.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Data/Entities/User.cs b/Jellyfin.Data/Entities/User.cs index 725531a7d..a0232e156 100644 --- a/Jellyfin.Data/Entities/User.cs +++ b/Jellyfin.Data/Entities/User.cs @@ -439,7 +439,7 @@ namespace Jellyfin.Data.Entities var parsedValue = converter.ConvertFromString(stringValues[i].Trim()); if (parsedValue != null) { - parsedValues.SetValue(parsedValue, convertedCount++); + parsedValues[convertedCount++] = (T)parsedValue; } } catch (FormatException) |
