Commit 5766ec2a authored by Ben Hayward's avatar Ben Hayward

defaulting features to []

1 merge request!337[Sprint/NuancedNumbat](feat): Enable feature flags when staging cookie set. #857
Pipeline #85096811 passed with stages
in 9 minutes and 29 seconds
......@@ -79,7 +79,7 @@ class Manager
*/
public function export()
{
$features = $this->config->get('features');
$features = $this->config->get('features') ?: [];
try {
$featureOverrides = $_COOKIE['staging-features']
? json_decode(base64_decode($_COOKIE['staging-features'], true), true)
......
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