diff --git a/src/Controller/ReportController.php b/src/Controller/ReportController.php index 33edde8..f5daf9a 100644 --- a/src/Controller/ReportController.php +++ b/src/Controller/ReportController.php @@ -768,7 +768,7 @@ private function loopThroughSuite(int $executionId, stdClass $suite, ?int $paren if (isset($test->context)) { try { $identifier_data = json_decode($test->context); - $identifier = is_array($identifier_data) ? $identifier_data[0]->value : $identifier_data->value; + $identifier = $identifier_data->value; } catch (Exception $e) { // Don't care if it fails }