2010-08-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the loop of alerts when Pandora haven't alerts. Fixes: #3044246 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bdf65119e1
commit
bcd263b5c8
|
@ -1,3 +1,8 @@
|
|||
2010-08-13 Miguel de Dios <miguel.dedios@artica.es>
|
||||
* include/functions_reporting.php: fixed the loop of alerts when Pandora
|
||||
haven't alerts.
|
||||
Fixes: #3044246
|
||||
|
||||
2010-08-13 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/snmpconsole/snmp_view.php: Fixed the pagination
|
||||
|
|
|
@ -876,6 +876,10 @@ function alert_reporting_module ($id_agent_module, $period = 0, $date = 0, $retu
|
|||
INNER JOIN talert_templates AS t2 ON t1.id = t2.id
|
||||
WHERE id_agent_module = ' . $id_agent_module);
|
||||
|
||||
if ($alerts === false) {
|
||||
$alerts = array();
|
||||
}
|
||||
|
||||
$i = 0;
|
||||
foreach ($alerts as $alert) {
|
||||
$data = array();
|
||||
|
|
Loading…
Reference in New Issue