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;