summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-07-19 02:11:01 +0200
committerjustdave%syndicomm.com <>2003-07-19 02:11:01 +0200
commitad8fdfeb71570e67bb23e80550e8dce01fc61c24 (patch)
treefbcf5c80c561826c43aa3d61c06ae463bf03e032 /importxml.pl
parent7c5b568e23a52b9472828bc6b43e6105f5c5068c (diff)
downloadbugzilla-ad8fdfeb71570e67bb23e80550e8dce01fc61c24.tar.gz
bugzilla-ad8fdfeb71570e67bb23e80550e8dce01fc61c24.tar.xz
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
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl4
1 files changed, 2 insertions, 2 deletions
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";