Fixed the history data in boolean and string charts.

(cherry picked from commit f24919fe4b)
This commit is contained in:
mdtrooper 2015-04-16 15:25:27 +02:00
parent 036538baa9
commit 3dbd433285
1 changed files with 2 additions and 0 deletions

View File

@ -2897,6 +2897,7 @@ function grafico_modulo_boolean_data ($agent_module_id, $period, $show_events,
if ($uncompressed_module) {
$avg_only = 1;
}
$search_in_history_db = db_search_in_history_db($datelimit);
// Get event data (contains alert data too)
if ($show_unknown == 1 || $show_events == 1 || $show_alerts == 1) {
@ -3609,6 +3610,7 @@ function grafico_modulo_string ($agent_module_id, $period, $show_events,
if ($uncompressed_module) {
$avg_only = 1;
}
$search_in_history_db = db_search_in_history_db($datelimit);
// Get event data (contains alert data too)
if ($show_events == 1 || $show_alerts == 1) {