#12252 fixed value group in discovery when it is 0
This commit is contained in:
parent
ec842b53df
commit
bdac4b6235
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue