review comments

This commit is contained in:
cvium
2023-08-22 08:31:34 +02:00
parent 0d3d9490e5
commit 05e40ecb93
2 changed files with 4 additions and 2 deletions

View File

@@ -243,6 +243,7 @@ namespace Emby.Server.Implementations.Data
public static int SelectScalarInt(this SqliteCommand command)
{
var result = command.ExecuteScalar();
// Can't be null since the method is used to retrieve Count
return Convert.ToInt32(result!, CultureInfo.InvariantCulture);
}