From 8cbbda06db4e5ddd7b48e6412a44cd7e9dfe81cf Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Wed, 29 Jun 2016 12:43:15 +0200 Subject: [PATCH] Fixed integria_rticket.pl. Ticket #3673. --- pandora_server/util/integria_rticket.pl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_server/util/integria_rticket.pl b/pandora_server/util/integria_rticket.pl index 646b7237da..609dd516b0 100644 --- a/pandora_server/util/integria_rticket.pl +++ b/pandora_server/util/integria_rticket.pl @@ -86,7 +86,10 @@ sub tool_api_main () { my $credentials; my $api_pass; my $db_user; + my $db_user_pass; my @db_info; + my $integria_user; + my $user_pass; my $ticket_name = ""; my $group_id = -1; @@ -125,8 +128,8 @@ sub tool_api_main () { } else { $api_pass = $db_info[0]; - $db_user = $db_info[1]; - $db_user_pass = $db_info[2]; + $integria_user = $db_info[1]; + $user_pass = $db_info[2]; } } else { @@ -194,8 +197,8 @@ sub tool_api_main () { "|;|" . $ticket_inventory . "|;|" . $ticket_type . "|;|" . $email_copy . - "|;|" . $email_copy . - "|;|" . + "|;|" . $integria_user . + "|;|" . "|;|" . '1' . "|;|" . "|;|";