Use proper array setter

This commit is contained in:
crobibero 2020-12-14 09:03:36 -07:00
parent a515ecbada
commit e051090904

View File

@ -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)