diff options
author | 2011-05-23 18:56:02 +0200 | |
---|---|---|
committer | 2011-05-23 18:56:02 +0200 | |
commit | 01b651ac704cc6577eb18c3867aa0cdd5fb30b61 (patch) | |
tree | 4748e3757924e7942b41af092f6ee4c841c83bbe /importxml.pl | |
parent | Bug 648096: UWinnipeg (theory PPM repo) instructions are not necessary with r... (diff) | |
download | bugzilla-01b651ac704cc6577eb18c3867aa0cdd5fb30b61.tar.gz bugzilla-01b651ac704cc6577eb18c3867aa0cdd5fb30b61.tar.bz2 bugzilla-01b651ac704cc6577eb18c3867aa0cdd5fb30b61.zip |
Bug 657707: importxml.pl crashes when importing keywords
r=glob a=LpSolit
Diffstat (limited to 'importxml.pl')
-rwxr-xr-x | importxml.pl | 9 |
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 |