We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34601c7 commit f0d1035Copy full SHA for f0d1035
lib/internal/Magento/Framework/Module/ModuleList.php
@@ -140,9 +140,11 @@ public function isModuleInfoAvailable()
140
*/
141
private function loadConfigData()
142
{
143
- $config = $this->config->get(ConfigOptionsListConstants::KEY_MODULES);
144
- if (null === $this->configData && null !== $config) {
145
- $this->configData = $config;
+ if (null === $this->configData) {
+ $config = $this->config->get(ConfigOptionsListConstants::KEY_MODULES);
+ if (null !== $config) {
146
+ $this->configData = $config;
147
+ }
148
}
149
150
0 commit comments