fixed multi selector pandora_enterprise#8620
This commit is contained in:
parent
40dc913aca
commit
1acb67ecad
|
@ -710,9 +710,13 @@ class AgentModuleWidget extends Widget
|
|||
|
||||
if (empty($allModules) === false) {
|
||||
if (is_metaconsole() === true && $this->values['mShowCommonModules'] !== 'on') {
|
||||
$modules = $agent->searchModules(
|
||||
['nombre' => array_keys($reduceAllModules['modules_selected'][$tserver])]
|
||||
);
|
||||
if (isset($reduceAllModules['modules_selected'][$tserver]) === true) {
|
||||
$modules = $agent->searchModules(
|
||||
['nombre' => array_keys($reduceAllModules['modules_selected'][$tserver])]
|
||||
);
|
||||
} else {
|
||||
$modules = null;
|
||||
}
|
||||
} else {
|
||||
$modules = $agent->searchModules(
|
||||
['nombre' => array_keys($allModules)]
|
||||
|
|
|
@ -223,7 +223,7 @@ if (is_ajax()) {
|
|||
$id_agents,
|
||||
$selection,
|
||||
$select_mode,
|
||||
true
|
||||
(bool) !$select_mode
|
||||
);
|
||||
|
||||
// Clean double safe input.
|
||||
|
|
Loading…
Reference in New Issue