diff --git a/lib/classes/check/manager.php b/lib/classes/check/manager.php index 62cc21cdb9d..c9e3aba2dfb 100644 --- a/lib/classes/check/manager.php +++ b/lib/classes/check/manager.php @@ -78,7 +78,7 @@ class manager { foreach ($plugins as $plugin => $pluginfunction) { $result = $pluginfunction(); foreach ($result as $check) { - $check->component = $plugintype . '_' . $plugin; + $check->set_component($plugintype . '_' . $plugin); $checks[] = $check; } }