mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
More review
This commit is contained in:
@@ -1073,10 +1073,7 @@ namespace Emby.Server.Implementations.Data
|
||||
}
|
||||
|
||||
// Extremely unlikely, but somehow one or more of the image strings were malformed. Cut the array.
|
||||
var newResult = new ItemImageInfo[position];
|
||||
Array.Copy(result, newResult, position);
|
||||
|
||||
return newResult;
|
||||
return result[..position];
|
||||
}
|
||||
|
||||
private void AppendItemImageInfo(StringBuilder bldr, ItemImageInfo image)
|
||||
|
||||
Reference in New Issue
Block a user