diff --git a/lib/classes/check/manager.php b/lib/classes/check/manager.php index b8b52243dd889..14f4a83ec70ea 100644 --- a/lib/classes/check/manager.php +++ b/lib/classes/check/manager.php @@ -79,7 +79,7 @@ static public function get_performance_checks() : array { foreach ($plugins as $plugin => $pluginfunction) { $result = $pluginfunction(); foreach ($result as $check) { - $check->component = $plugintype . '_' . $plugin; + $check->set_component($plugintype . '_' . $plugin); $checks[] = $check; } }