Merge branch 'ent-9493-14170-elementos-criticos-en-servicios-no-se-muestra-en-el-tree-view' into 'develop'
fixed tree view services pandora_enterprise#9493 See merge request artica/pandorafms!5111
This commit is contained in:
commit
5a645498ea
|
@ -4193,6 +4193,11 @@ function modules_get_counter_by_states($state)
|
|||
|
||||
function modules_get_state_condition($state, $prefix='tae')
|
||||
{
|
||||
// Not use empty state 0 -> AGENT_MODULE_STATUS_NORMAL.
|
||||
if ($state === '') {
|
||||
return '1=1';
|
||||
}
|
||||
|
||||
switch ($state) {
|
||||
case AGENT_MODULE_STATUS_CRITICAL_ALERT:
|
||||
case AGENT_MODULE_STATUS_CRITICAL_BAD:
|
||||
|
|
Loading…
Reference in New Issue