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) {