diff --git a/app/Console/Commands/Rsi/CommLink/ImportCommLink.php b/app/Console/Commands/Rsi/CommLink/ImportCommLink.php index 52dbd2d7..a01284d5 100644 --- a/app/Console/Commands/Rsi/CommLink/ImportCommLink.php +++ b/app/Console/Commands/Rsi/CommLink/ImportCommLink.php @@ -36,7 +36,7 @@ class ImportCommLink extends Command */ public function handle(): int { - if ($this->hasOption('all')) { + if ($this->option('all') === true) { ImportCommLinksJob::dispatch(-1); return Command::SUCCESS; }