Pass the 'All' group as '' to Discovery apps.
The name of the 'All' group is localized. Pass '' instead of 'All' to Discovery apps so they can easily handle it.
This commit is contained in:
parent
f700007cc0
commit
4b62b14f63
|
@ -655,7 +655,11 @@ sub get_recon_macro_value($$$$) {
|
||||||
}
|
}
|
||||||
# Name of the group if it exists. Empty otherwise.
|
# Name of the group if it exists. Empty otherwise.
|
||||||
elsif ($type eq 'agent_groups') {
|
elsif ($type eq 'agent_groups') {
|
||||||
my $group_name = get_group_name($dbh, $value);
|
my $group_name = '';
|
||||||
|
if ($value > 0) {
|
||||||
|
$group_name = get_group_name($dbh, $value);
|
||||||
|
}
|
||||||
|
|
||||||
if (defined($group_name)) {
|
if (defined($group_name)) {
|
||||||
$ret = $group_name;
|
$ret = $group_name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue