2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed when the filter stanby not exist. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6dec3b09f2
commit
091751eccc
|
@ -1,3 +1,7 @@
|
|||
2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_agents.php: fixed when the filter stanby not exist.
|
||||
|
||||
2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions.php: in function "check_sql" added some changes in
|
||||
|
|
|
@ -114,7 +114,12 @@ function get_agent_alerts_simple ($id_agent = false, $filter = '', $options = fa
|
|||
|
||||
if (is_array($filter)) {
|
||||
$disabled = $filter['disabled'];
|
||||
$filter = ' AND talert_template_modules.standby = "'.$filter['standby'].'"';
|
||||
if (isset($filter['standby'])) {
|
||||
$filter = ' AND talert_template_modules.standby = "'.$filter['standby'].'"';
|
||||
}
|
||||
else {
|
||||
$filter = '';
|
||||
}
|
||||
}
|
||||
else {
|
||||
$filter = '';
|
||||
|
|
Loading…
Reference in New Issue