Fixed integria_rticket.pl. Ticket #3673.

This commit is contained in:
Daniel Maya 2016-06-29 12:43:15 +02:00
parent e4cdef363e
commit 8cbbda06db
1 changed files with 7 additions and 4 deletions

View File

@ -86,7 +86,10 @@ sub tool_api_main () {
my $credentials; my $credentials;
my $api_pass; my $api_pass;
my $db_user; my $db_user;
my $db_user_pass;
my @db_info; my @db_info;
my $integria_user;
my $user_pass;
my $ticket_name = ""; my $ticket_name = "";
my $group_id = -1; my $group_id = -1;
@ -125,8 +128,8 @@ sub tool_api_main () {
} }
else { else {
$api_pass = $db_info[0]; $api_pass = $db_info[0];
$db_user = $db_info[1]; $integria_user = $db_info[1];
$db_user_pass = $db_info[2]; $user_pass = $db_info[2];
} }
} }
else { else {
@ -194,7 +197,7 @@ sub tool_api_main () {
"|;|" . $ticket_inventory . "|;|" . $ticket_inventory .
"|;|" . $ticket_type . "|;|" . $ticket_type .
"|;|" . $email_copy . "|;|" . $email_copy .
"|;|" . $email_copy . "|;|" . $integria_user .
"|;|" . "|;|" .
"|;|" . '1' . "|;|" . '1' .
"|;|" . "|;|" .