mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +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;
|
$value = false;
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'agent_groups':
|
case 'agent_groups':
|
||||||
|
if ($v > 0) {
|
||||||
$value = groups_get_name($v);
|
$value = groups_get_name($v);
|
||||||
|
} else {
|
||||||
|
$value = '';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'module_groups':
|
case 'module_groups':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user