Merge branch 'ent-13379-item-inventory-informes-error-elementos-edicion' into 'develop'

Ent-13379-item-inventory-informes-error-elementos-edicion

See merge request artica/pandorafms!7186
This commit is contained in:
Jose Martin 2024-04-12 07:17:47 +00:00
commit a305d0779a
1 changed files with 1 additions and 1 deletions

View File

@ -2338,7 +2338,7 @@ if (is_metaconsole() === true) {
if ($idAgent) {
$sql = 'SELECT id_agente_modulo, nombre
FROM tagente_modulo
WHERE id_agente = '.$idAgent.' AND delete_pending = 0';
WHERE id_agente = "'.$idAgent["id_agent"].'" AND delete_pending = 0';
if ($meta) {
$connection = metaconsole_get_connection($server_name);