mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
review comments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user