mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
#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…
x
Reference in New Issue
Block a user