From 381f80ec4a1e17d6226f60a92e25c8034157f984 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Thu, 4 Aug 2022 11:16:47 +0900 Subject: [PATCH] =?UTF-8?q?`eccube:fixtures:generate=20--without-image`=20?= =?UTF-8?q?=E3=81=8C=E5=8F=8D=E8=BB=A2=E3=81=97=E3=81=A6=E3=81=84=E3=81=9F?= =?UTF-8?q?=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Eccube/Command/GenerateDummyDataCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Eccube/Command/GenerateDummyDataCommand.php b/src/Eccube/Command/GenerateDummyDataCommand.php index 7de0a7e2eda..023d210612b 100644 --- a/src/Eccube/Command/GenerateDummyDataCommand.php +++ b/src/Eccube/Command/GenerateDummyDataCommand.php @@ -118,7 +118,7 @@ protected function execute(InputInterface $input, OutputInterface $output) // @see https://github.com/fzaninotto/Faker/issues/1125#issuecomment-268676186 gc_collect_cycles(); - $Product = $this->generator->createProduct(null, 3, $notImage); + $Product = $this->generator->createProduct(null, 3, !$notImage); switch ($output->getVerbosity()) { case OutputInterface::VERBOSITY_QUIET: break;