From 75452043564ff9c7a81e147af4eb1bc167e1fe9e Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 26 Feb 2026 16:06:28 +0100 Subject: [PATCH] Cast source to int --- app/Console/Commands/ImportNzbs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }