Merge branch '158-filtro-de-no-iniciados-con-historico' into 'pandora_6.0'
Filter with not init history db. Ticket #158 See merge request !38
This commit is contained in:
commit
2581d5d3ea
|
@ -4854,7 +4854,7 @@ function reporting_availability($report, $content, $date=false, $time=false) {
|
|||
$aux_id_agents = $agents;
|
||||
$i=0;
|
||||
foreach ($items as $item) {
|
||||
$utimestamp = db_get_value('utimestamp', 'tagente_datos', 'id_agente_modulo', $item['id_agent_module']);
|
||||
$utimestamp = db_get_value('utimestamp', 'tagente_datos', 'id_agente_modulo', $item['id_agent_module'], true);
|
||||
if (($utimestamp === false) || (intval($utimestamp) > intval($datetime_to))){
|
||||
unset($items[$i]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue