2009-04-02 Esteban Sanchez <estebans@artica.es>

* include/functions_reporting.php: Added alert API on
        get_agent_alerts_reporting_table() to solve a notice error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2009-04-02 13:20:31 +00:00
parent 610fe5042b
commit 83ca33a290
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Added alert API on
get_agent_alerts_reporting_table() to solve a notice error.
2009-04-02 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed id on tconfig

View File

@ -484,6 +484,8 @@ function get_agent_alerts_reporting_table ($id_agent, $period = 0, $date = 0) {
$table->head[4] = __('Last fired');
$table->head[5] = __('Times Fired');
require_once ('include/functions_alerts.php');
$alerts = get_agent_alerts ($id_agent);
/* FIXME: Add compound alerts to the report. Some extra code is needed here */
foreach ($alerts['simple'] as $alert) {