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 @@ public static string ToBestFileSize(this long bytes, int precision = 0) public static int MinOrDefault(this IEnumerable ints) { + if (ints == null) + return 0; + var intsList = ints.ToList(); if (!intsList.Any())