#12252 revert fixed value group in discovery when it is 0

This commit is contained in:
Daniel Cebrian 2023-10-31 16:45:03 +01:00
parent bdac4b6235
commit ff8c8e1796
1 changed files with 1 additions and 5 deletions

View File

@ -1920,11 +1920,7 @@ class ExtensionsDiscovery extends Wizard
$value = false;
switch ($type) {
case 'agent_groups':
if ($v > 0) {
$value = groups_get_name($v);
} else {
$value = '';
}
$value = groups_get_name($v);
break;
case 'module_groups':