mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-11111-15539-modulos-web-check-vacios-en-el-agente' into 'develop'
Ent 11111 15539 modulos web check vacios en el agente See merge request artica/pandorafms!5833
This commit is contained in:
commit
e96fda12eb
@ -103,6 +103,9 @@ if (isset($id_agent_module) === true && $id_agent_module !== 0) {
|
|||||||
if ($id_policy_module > 0) {
|
if ($id_policy_module > 0) {
|
||||||
$module = enterprise_hook('policies_get_module', [$id_policy_module]);
|
$module = enterprise_hook('policies_get_module', [$id_policy_module]);
|
||||||
$plugin_parameter = $module['plugin_parameter'];
|
$plugin_parameter = $module['plugin_parameter'];
|
||||||
|
} else if ($id_agent_module > 0) {
|
||||||
|
$module = modules_get_agentmodule($id_agent_module);
|
||||||
|
$plugin_parameter = $module['plugin_parameter'];
|
||||||
} else {
|
} else {
|
||||||
$plugin_parameter = '';
|
$plugin_parameter = '';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user