mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Change of comparison operator
This commit is contained in:
parent
a8597e1cb4
commit
1fb92e28f3
@ -5422,7 +5422,7 @@ sub cli_create_synthetic() {
|
||||
|
||||
my @module_data;
|
||||
|
||||
if (@ARGV[$#ARGV] == "use_alias") {
|
||||
if (@ARGV[$#ARGV] eq "use_alias") {
|
||||
@module_data = @ARGV[5..$#ARGV-1];
|
||||
} else {
|
||||
@module_data = @ARGV[5..$#ARGV];
|
||||
@ -5542,7 +5542,7 @@ sub cli_create_synthetic() {
|
||||
}
|
||||
} else {
|
||||
my $id_agent = int(get_agent_id($dbh,$agent_name));
|
||||
|
||||
|
||||
if ($id_agent > 0) {
|
||||
foreach my $i (0 .. $#module_data) {
|
||||
my @split_data = split(',',$module_data[$i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user