diff --git a/src/Command/BooksTagCommand.php b/src/Command/BooksTagCommand.php index 94eb61fb..036eea81 100644 --- a/src/Command/BooksTagCommand.php +++ b/src/Command/BooksTagCommand.php @@ -72,8 +72,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($summary !== '' && ($book->getSummary() === null || $book->getSummary() === '')) { $book->setSummary($summary); } + $this->entityManager->flush(); + } - $this->entityManager->flush(); $progressBar->finish();