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