mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 04:58:46 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -161,7 +161,7 @@ EOF
|
||||
$steps = explode('.', $path);
|
||||
|
||||
foreach ($steps as $step) {
|
||||
if (!\array_key_exists($step, $config)) {
|
||||
if (!\is_array($config) || !\array_key_exists($step, $config)) {
|
||||
throw new LogicException(\sprintf('Unable to find configuration for "%s.%s".', $alias, $path));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user