9680-Create widget ModulesByStatus

This commit is contained in:
Pablo Aragon 2023-02-09 10:37:12 +01:00
parent 971fc84a47
commit f35acde8eb
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class ModulesByStatus extends Widget
$status_fields[AGENT_MODULE_STATUS_NOT_NORMAL] = __('Not normal');
$status_selected = explode(',', $values['status']);
(isset($values['status']) === false) ? $status_selected = AGENT_MODULE_STATUS_WARNING : '';
(isset($values['status']) === false) ? $status_selected = AGENT_MODULE_STATUS_CRITICAL_BAD : '';
$inputs[] = [
'label' => __('Status'),