diff --git a/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs b/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs index 6311dd577..3f87202ce 100644 --- a/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs +++ b/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs @@ -36,7 +36,7 @@ namespace NzbDrone.Core.Datastore.Migration var ignored = ignoredObj == DBNull.Value ? Enumerable.Empty() - : requiredObj.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); + : ignoredObj.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); using (var updateCmd = conn.CreateCommand()) {