diff --git a/Shoko.Server/Databases/DatabaseFixes.cs b/Shoko.Server/Databases/DatabaseFixes.cs index eb50ce61c..9bd6b02b2 100644 --- a/Shoko.Server/Databases/DatabaseFixes.cs +++ b/Shoko.Server/Databases/DatabaseFixes.cs @@ -68,7 +68,7 @@ public static void MigrateGroupFilterToFilterPreset() GroupFilterName = (string)fields[2], ApplyToSeries = (int)fields[3], BaseCondition = (int)fields[4], - Locked = (int)fields[5], + Locked = (int?)fields[5], FilterType = (int)fields[6], InvisibleInClients = (int)fields[7] };