diff --git a/www/runtest.php b/www/runtest.php index e23f197898..1dccbcd45d 100644 --- a/www/runtest.php +++ b/www/runtest.php @@ -681,7 +681,7 @@ if (!empty($user_api_key)){ $test['carbon_control'] = false; } - if( $test['carbon_control'] ){ + if( isset($test['carbon_control']) && $test['carbon_control'] ){ array_push($conditionalMetrics, "carbon-footprint"); } $test['customMetrics'] = CustomMetricFiles::get($conditionalMetrics);