Skip to content

Commit

Permalink
fix: check count instead of empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Dec 9, 2024
1 parent 6f8a82f commit 1bfefc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/ImportYouTubeExternalPlayerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$progressBar->advance();
++$count;

if (!empty($multimediaObject->external())) {
if (0 !== count($multimediaObject->external())) {
continue;
}

Expand Down

0 comments on commit 1bfefc0

Please sign in to comment.