mirror of
https://github.com/wallabag/wallabag.git
synced 2026-03-11 17:57:35 +01:00
Avoid null tag splitting in URL import command
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user