mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#10851 Fix id agent and delete hd
This commit is contained in:
parent
cdb01f1105
commit
6d84353778
@ -922,7 +922,7 @@ function inventory_get_dates($module_inventory_name, $inventory_agent, $inventor
|
||||
AND tagente_datos_inventory.id_agent_module_inventory = tagent_module_inventory.id_agent_module_inventory
|
||||
AND tagente.id_agente = tagent_module_inventory.id_agente';
|
||||
|
||||
if ($inventory_agent !== 'All') {
|
||||
if ($inventory_agent !== 0) {
|
||||
$sql .= ' AND tagent_module_inventory.id_agente IN ('."'".implode(',', (array) $inventory_agent)."'".')';
|
||||
}
|
||||
|
||||
|
@ -678,7 +678,6 @@ if (is_metaconsole() === false) {
|
||||
$inventory_id_agent,
|
||||
$inventory_id_group
|
||||
);
|
||||
hd($dates, true);
|
||||
$table->data[1][2] = html_print_label_input_block(
|
||||
__('Date'),
|
||||
html_print_select(
|
||||
|
Loading…
x
Reference in New Issue
Block a user