diff --git a/NzbDrone.Core/Fluent.cs b/NzbDrone.Core/Fluent.cs index 618c47983..8ce8d870a 100644 --- a/NzbDrone.Core/Fluent.cs +++ b/NzbDrone.Core/Fluent.cs @@ -145,6 +145,9 @@ namespace NzbDrone.Core public static int MinOrDefault(this IEnumerable ints) { + if (ints == null) + return 0; + var intsList = ints.ToList(); if (!intsList.Any())