summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-05-23 18:56:02 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-05-23 18:56:02 +0200
commit01b651ac704cc6577eb18c3867aa0cdd5fb30b61 (patch)
tree4748e3757924e7942b41af092f6ee4c841c83bbe
parent0b65c752cb972ec75c2a7c58c3b2f40f5ec2c6fe (diff)
downloadbugzilla-01b651ac704cc6577eb18c3867aa0cdd5fb30b61.tar.gz
bugzilla-01b651ac704cc6577eb18c3867aa0cdd5fb30b61.tar.xz
Bug 657707: importxml.pl crashes when importing keywords
r=glob a=LpSolit
-rwxr-xr-ximportxml.pl9
1 files changed, 0 insertions, 9 deletions
diff --git a/importxml.pl b/importxml.pl
index 3359f349f..ca9b503ca 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -1115,15 +1115,6 @@ sub process_bug {
$keywordseen{$keyword_obj->id} = 1;
}
}
- my ($keywordarray) = $dbh->selectcol_arrayref(
- "SELECT d.name FROM keyworddefs d
- INNER JOIN keywords k
- ON d.id = k.keywordid
- WHERE k.bug_id = ?
- ORDER BY d.name", undef, $id);
- my $keywordstring = join( ", ", @{$keywordarray} );
- $dbh->do( "UPDATE bugs SET keywords = ? WHERE bug_id = ?",
- undef, $keywordstring, $id )
}
# Insert values of custom multi-select fields. They have already