diff --git a/app/Console/Commands/ImportNzbs.php b/app/Console/Commands/ImportNzbs.php index 4441452d8..43645ec10 100644 --- a/app/Console/Commands/ImportNzbs.php +++ b/app/Console/Commands/ImportNzbs.php @@ -52,7 +52,7 @@ class ImportNzbs extends Command $deleteFailedNZB = false; } if ($this->option('source')) { - $source = $this->option('source'); + $source = (int) $this->option('source'); } else { $source = 1; }