Merge branch 'pandora_5.1' of https://github.com/pandorafms/pandorafms into pandora_5.1
This commit is contained in:
commit
56864daeda
|
@ -1401,6 +1401,8 @@ function modules_get_count_datas($id_agent_module, $date_init, $date_end) {
|
|||
function modules_get_count_data_with_value($id_agent_module, $date_init,
|
||||
$date_end, $value) {
|
||||
|
||||
global $config;
|
||||
|
||||
if (!is_numeric($date_init)) {
|
||||
$date_init = strtotime($date_init);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue