Skip to content

Commit 1f66140

Browse files
authored
Merge pull request #65 from Flowpack/dfeyer-patch-1
BUGFIX: Empty settings break the DynamicIndexSettingService
2 parents 932586e + ecbdd89 commit 1f66140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Domain/Model/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected function getSettings()
191191
}
192192
$settings = Arrays::getValueByPath($this->settings, $path);
193193

194-
return $this->dynamicIndexSettingService->process($settings, $path, $this->getName());
194+
return $settings !== null ? $this->dynamicIndexSettingService->process($settings, $path, $this->getName()) : $settings;
195195
}
196196

197197
/**

0 commit comments

Comments
 (0)