From 126d358defcc138813d7cdcd28615cbf3feb1a81 Mon Sep 17 00:00:00 2001 From: Elodie Billiot Date: Tue, 5 Sep 2023 15:51:56 +0200 Subject: [PATCH] Feat: upgrade --- src/Controller/ReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }