This commit is contained in:
Fabien Potencier 2017-09-11 10:58:01 -07:00
parent b1b686081b
commit 2c62ba8150

View File

@ -253,7 +253,7 @@ class Configuration implements ConfigurationInterface
$workflows = $v; $workflows = $v;
unset($workflows['enabled']); unset($workflows['enabled']);
if (count($workflows) === 1 && isset($workflows[0]['enabled'])) { if (1 === count($workflows) && isset($workflows[0]['enabled'])) {
$workflows = array(); $workflows = array();
} }