Commit 01b651ac authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 657707: importxml.pl crashes when importing keywords

r=glob a=LpSolit
parent 0b65c752
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment