Merge branch 'ent-13768-17526-modulos-inusage-outusage-se-quedan-en-estado-not-init-si-los-seleccionamos-desde-las' into 'develop'

Ent 13768 17526 modulos inusage outusage se quedan en estado not init si los seleccionamos desde las

See merge request artica/pandorafms!7409
This commit is contained in:
Juan Antonio Loarte 2024-05-22 11:31:22 +00:00
commit 69143ff8af
1 changed files with 8 additions and 0 deletions

View File

@ -1659,6 +1659,14 @@ class AgentWizard extends HTML
$k = $matches[1].'_'.$matches[2].'-'.$matches[3];
}
} else {
if (preg_match('/module-id_plugin/', $k) > 0) {
$result[$value]['id_plugin'] = $data['module-id_plugin-'.$key];
}
if (preg_match('/module-id_modulo/', $k) > 0) {
$result[$value]['id_modulo'] = $data['module-id_modulo-'.$key];
}
if (preg_match('/module-value/', $k) > 0
&& empty($data[$k]) === false
) {