mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-7320-11651-creacion-masiva-de-xml-incorrectos-con-servidor-develop' into 'develop'
Ent 7320 11651 creacion masiva de xml incorrectos con servidor develop See merge request artica/pandorafms!4038
This commit is contained in:
commit
d380e2cd45
@ -792,6 +792,7 @@ sub transfer_xml {
|
||||
my $file_name;
|
||||
my $file_path;
|
||||
|
||||
if (! -f $xml) {
|
||||
if (! (empty ($name))) {
|
||||
$file_name = $name . "." . sprintf("%d",getCurrentUTimeMilis(). (rand()*10000)) . ".data";
|
||||
}
|
||||
@ -845,6 +846,10 @@ sub transfer_xml {
|
||||
|
||||
close ($FD);
|
||||
|
||||
} else {
|
||||
$file_path = $xml;
|
||||
}
|
||||
|
||||
# Reassign default values if not present
|
||||
$conf->{tentacle_client} = "tentacle_client" if empty($conf->{tentacle_client});
|
||||
$conf->{tentacle_port} = "41121" if empty($conf->{tentacle_port});
|
||||
|
Loading…
x
Reference in New Issue
Block a user