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
parent 909d037e
......@@ -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");
......
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