Make sure the flags are always array
[MAILPOET-2716]
This commit is contained in:
@@ -36,6 +36,9 @@ class FeatureFlagsController {
|
||||
),
|
||||
$flags
|
||||
);
|
||||
if ($flagsMap === false) {
|
||||
$flagsMap = [];
|
||||
}
|
||||
|
||||
$output = [];
|
||||
foreach ($this->featuresController->getDefaults() as $name => $default) {
|
||||
|
Reference in New Issue
Block a user