diff --git a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php index cb79daddbf5f9..d12b126a8b5fa 100644 --- a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php +++ b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php @@ -173,9 +173,14 @@ protected function execute(InputInterface $input, OutputInterface $output) $lockTargetPath = ConfigFilePool::APP_CONFIG; } + $value = $input->getArgument(static::ARG_VALUE); + if ($value === 'NULL') { + $value = null; + } + return $this->processorFacadeFactory->create()->processWithLockTarget( $input->getArgument(static::ARG_PATH), - $input->getArgument(static::ARG_VALUE), + $value, $input->getOption(static::OPTION_SCOPE), $input->getOption(static::OPTION_SCOPE_CODE), $lock,