Bug 186218: importxml.pl was doing a query against the products table using the old schema

Patch by Jonathan Schatz <jon@vmware.com>
r= justdave, a= justdave
This commit is contained in:
justdave%syndicomm.com 2002-12-20 03:37:49 +00:00
parent 62988177ba
commit bd14a7cc67

View File

@ -467,7 +467,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
push (@query, "target_milestone");
} else {
SendSQL("SELECT defaultmilestone FROM products " .
"WHERE product = " . SqlQuote($product[0]));
"WHERE name = " . SqlQuote($product[0]));
my $tm = FetchOneColumn();
push (@values, SqlQuote($tm));
push (@query, "target_milestone");