mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
@@ -301,7 +301,7 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
public static long ParseSize(string sizeString, bool defaultToBinaryPrefix)
|
||||
{
|
||||
if (sizeString.All(char.IsDigit))
|
||||
if (sizeString.Length > 0 && sizeString.All(char.IsDigit))
|
||||
{
|
||||
return long.Parse(sizeString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user