#12252 fixed value group in discovery when it is 0

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

View File

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