]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 186218: importxml.pl was doing a query against the products table using the old...
authorjustdave%syndicomm.com <>
Fri, 20 Dec 2002 11:37:49 +0000 (11:37 +0000)
committerjustdave%syndicomm.com <>
Fri, 20 Dec 2002 11:37:49 +0000 (11:37 +0000)
Patch by Jonathan Schatz <jon@vmware.com>
r= justdave, a= justdave

importxml.pl

index 1777bfc4a02e9f5c3ca4518b2aca9e4ee74b3076..6575e2f62ad047b2b754c46184167a248cf2377a 100755 (executable)
@@ -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");