Avoid null tag splitting in URL import command

This commit is contained in:
Yassine Guedidi
2026-03-08 15:51:07 +01:00
parent 0979b510fd
commit e7e7eb4f25

View File

@ -100,7 +100,7 @@ class UrlCommand extends Command
$this->entityManager->persist($entry);
$tags = explode(',', $input->getArgument('tags'));
$tags = explode(',', (string) $input->getArgument('tags'));
if (\count($tags) > 1) {
$this->tagsAssigner->assignTagsToEntry(
$entry,