mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed the history data in boolean and string charts.
(cherry picked from commit f24919fe4b80b61e076f8b6589e77a2fe5a9416d)
This commit is contained in:
parent
036538baa9
commit
3dbd433285
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user