Merge branch 'ent-9017-Error-sql-con-usuario-estandar-en-lista-de-alertas' into 'develop'
Ent 9017 error sql con usuario estandar en lista de alertas See merge request artica/pandorafms!4901
This commit is contained in:
commit
4ce35e97e4
|
@ -238,6 +238,9 @@ if ($searchFlag) {
|
|||
}
|
||||
|
||||
$id_agents = array_keys($agents);
|
||||
if (empty($id_agents) === true) {
|
||||
$id_agents[0] = 0;
|
||||
}
|
||||
|
||||
$total = agents_get_alerts_simple(
|
||||
(empty($agent_id) === false) ? ['0' => $agent_id] : $id_agents,
|
||||
|
|
Loading…
Reference in New Issue