Merge branch 'ent-11735-listado-de-modulos-rotos-en-develop' into 'develop'

Ent 11735 listado de modulos rotos en develop

See merge request artica/pandorafms!6254
This commit is contained in:
Rafael Ameijeiras 2023-07-17 12:09:09 +00:00
commit a8597e1cb4
1 changed files with 12 additions and 9 deletions

View File

@ -98,15 +98,18 @@ if (check_login()) {
}
$id_plugin = get_parameter('id_plugin', 0);
$id_module_plugin = db_get_value(
'id_plugin',
'tagente_modulo',
'id_agente_modulo',
$get_module_macros
);
if ($id_plugin !== $id_module_plugin) {
$get_plugin_macros = true;
$get_module_macros = 0;
if ($id_plugin !== 0) {
$id_module_plugin = db_get_value(
'id_plugin',
'tagente_modulo',
'id_agente_modulo',
$get_module_macros
);
if ($id_plugin !== $id_module_plugin) {
$get_plugin_macros = true;
$get_module_macros = 0;
}
}
if ($get_plugin_macros) {