2010-09-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed SQL errors in alerts view with not administrator users for bug: 3078113 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1759e7b808
commit
48e8cbd985
|
@ -1,3 +1,8 @@
|
|||
2010-09-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_agents.php: Fixed SQL errors in
|
||||
alerts view with not administrator users for bug: 3078113
|
||||
|
||||
2010-09-29 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_groups.php: added first version of file with the
|
||||
|
|
|
@ -241,13 +241,13 @@ function get_agent_alerts_compound ($id_agent = false, $filter = '', $options =
|
|||
$subQuery = 'SELECT id_agente FROM tagente';
|
||||
}
|
||||
}
|
||||
else if ($id_agent === false) {
|
||||
else if ($id_agent == false) {
|
||||
$subQuery = 'SELECT id_agente
|
||||
FROM tagente WHERE disabled = 0';
|
||||
}
|
||||
else {
|
||||
$id_agent = (array) $id_agent;
|
||||
|
||||
|
||||
$subQuery = implode (',', $id_agent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue