Commit 0ad1aaff authored by alexpott's avatar alexpott

Issue #2799863 by GoZ: ConfigInstaller use same block validating Dependencies

parent 41cab627
......@@ -558,10 +558,7 @@ protected function getMissingDependencies($config_name, array $data, array $enab
}
// Ensure the configuration entity type provider is in the list of
// dependencies.
if (!isset($all_dependencies['module'])) {
$all_dependencies['module'][] = $provider;
}
elseif (!in_array($provider, $all_dependencies['module'])) {
if (!isset($all_dependencies['module']) || !in_array($provider, $all_dependencies['module'])) {
$all_dependencies['module'][] = $provider;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment