mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11735 Fix Agent view modules
This commit is contained in:
parent
df70aa6ee6
commit
8d89ed90d3
@ -98,15 +98,18 @@ if (check_login()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$id_plugin = get_parameter('id_plugin', 0);
|
$id_plugin = get_parameter('id_plugin', 0);
|
||||||
$id_module_plugin = db_get_value(
|
|
||||||
'id_plugin',
|
if ($id_plugin !== 0) {
|
||||||
'tagente_modulo',
|
$id_module_plugin = db_get_value(
|
||||||
'id_agente_modulo',
|
'id_plugin',
|
||||||
$get_module_macros
|
'tagente_modulo',
|
||||||
);
|
'id_agente_modulo',
|
||||||
if ($id_plugin !== $id_module_plugin) {
|
$get_module_macros
|
||||||
$get_plugin_macros = true;
|
);
|
||||||
$get_module_macros = 0;
|
if ($id_plugin !== $id_module_plugin) {
|
||||||
|
$get_plugin_macros = true;
|
||||||
|
$get_module_macros = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($get_plugin_macros) {
|
if ($get_plugin_macros) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user