Use proper array setter
This commit is contained in:
parent
a515ecbada
commit
e051090904
|
@ -439,7 +439,7 @@ namespace Jellyfin.Data.Entities
|
||||||
var parsedValue = converter.ConvertFromString(stringValues[i].Trim());
|
var parsedValue = converter.ConvertFromString(stringValues[i].Trim());
|
||||||
if (parsedValue != null)
|
if (parsedValue != null)
|
||||||
{
|
{
|
||||||
parsedValues.SetValue(parsedValue, convertedCount++);
|
parsedValues[convertedCount++] = (T)parsedValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (FormatException)
|
catch (FormatException)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user