Merge branch 'ent-12843-error-deshabilitar-agentes-por-masivas-en-meta-16996' into 'develop'

Ent 12843 error deshabilitar agentes por masivas en meta 16996

See merge request artica/pandorafms!6915
This commit is contained in:
Rafael Ameijeiras 2024-02-09 09:21:44 +00:00
commit 5a1b5b53cc
1 changed files with 1 additions and 2 deletions

View File

@ -319,9 +319,8 @@ if ($update_agents) {
$secondary_groups_removed
);
$agents_values = agents_get_agent((int) $array_id[1]);
$agents_values = db_get_row_filter('tagente', ['id_agente' => (int) $array_id[1]]);
$node->disconnect();
if (empty($values) === false) {
update_agents_in_metaconsole(
(int) $array_id[1],