#11735 Fix Agent view modules
This commit is contained in:
parent
df70aa6ee6
commit
8d89ed90d3
|
@ -98,6 +98,8 @@ if (check_login()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_plugin = get_parameter('id_plugin', 0);
|
$id_plugin = get_parameter('id_plugin', 0);
|
||||||
|
|
||||||
|
if ($id_plugin !== 0) {
|
||||||
$id_module_plugin = db_get_value(
|
$id_module_plugin = db_get_value(
|
||||||
'id_plugin',
|
'id_plugin',
|
||||||
'tagente_modulo',
|
'tagente_modulo',
|
||||||
|
@ -108,6 +110,7 @@ if (check_login()) {
|
||||||
$get_plugin_macros = true;
|
$get_plugin_macros = true;
|
||||||
$get_module_macros = 0;
|
$get_module_macros = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($get_plugin_macros) {
|
if ($get_plugin_macros) {
|
||||||
if (https_is_running()) {
|
if (https_is_running()) {
|
||||||
|
|
Loading…
Reference in New Issue