Merge branch 'ent-11498-15743-cli-create_synthetic-no-toma-segundo-modulo-para-anadir-al-modulo-final' into 'develop'
Ent 11498-15743-cli-create_synthetic-no-toma-segundo-modulo-para-anadir-al-modulo-final See merge request artica/pandorafms!6271
This commit is contained in:
commit
28d883fe24
|
@ -5411,7 +5411,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];
|
||||
|
@ -5531,7 +5531,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…
Reference in New Issue