From ad8fdfeb71570e67bb23e80550e8dce01fc61c24 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sat, 19 Jul 2003 00:11:01 +0000 Subject: Bug 213085: importxml.pl tries to convert qa_contact from a name to an ID when it's already an ID r= myk, a= justdave --- importxml.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'importxml.pl') diff --git a/importxml.pl b/importxml.pl index afc02faa9..3d0ea6206 100755 --- a/importxml.pl +++ b/importxml.pl @@ -581,7 +581,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { my $qa_contact; if ( (defined $bug_fields{'qa_contact'}) && ($qa_contact = DBname_to_id($bug_fields{'qa_contact'})) ){ - push (@values, SqlQuote($qa_contact)); + push (@values, $qa_contact); push (@query, "qa_contact"); } else { SendSQL("SELECT initialqacontact FROM components, products " . @@ -589,7 +589,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { " AND products.name = " . SqlQuote($product[0]) . " AND components.name = " . SqlQuote($component[0]) ); $qa_contact = FetchOneColumn(); - push (@values, SqlQuote(DBname_to_id($qa_contact)) ); + push (@values, $qa_contact); push (@query, "qa_contact"); $err .= "Setting qa contact to the default for this product.\n"; $err .= " This bug either had no qa contact or an invalid one.\n"; -- cgit v1.2.3-24-g4f1b