Skip to content

Commit 87c2a60

Browse files
author
Ivan Gavryshko
committed
MAGETWO-35748: Default Values are Set Every Time for Some Config Settings
- fixed
1 parent d536cc5 commit 87c2a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Config/ConfigGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function createCryptConfig(array $data)
9090

9191
$configData->set(ConfigOptionsList::CONFIG_PATH_CRYPT_KEY, $key);
9292
} else {
93-
if (!$currentKey) {
93+
if ($currentKey === null) {
9494
$configData->set(ConfigOptionsList::CONFIG_PATH_CRYPT_KEY, md5($this->random->getRandomString(10)));
9595
}
9696
}

0 commit comments

Comments
 (0)