From 03b849d929800d29a4e21ba4859780035c0ff315 Mon Sep 17 00:00:00 2001 From: zimmer-yan Date: Thu, 2 Oct 2025 14:38:27 +0200 Subject: [PATCH] fix trends not displayed correctly --- src/Hal/Report/Html/Reporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hal/Report/Html/Reporter.php b/src/Hal/Report/Html/Reporter.php index 6304d8c2..01db5999 100644 --- a/src/Hal/Report/Html/Reporter.php +++ b/src/Hal/Report/Html/Reporter.php @@ -252,7 +252,7 @@ protected function getTrend($type, $key, $lowIsBetter = false, $highIsBetter = f } $oldValue = $last->$type->$key; - $newValue = isset($this->sum->$type->$key) ? $this->sum->$type->$key : 0; + $newValue = isset($this->$type->$key) ? $this->$type->$key : 0; if ($newValue > $oldValue) { $r = 'gt'; } elseif ($newValue < $oldValue) {