From: justdave%syndicomm.com <> Date: Fri, 20 Dec 2002 11:37:49 +0000 (+0000) Subject: Bug 186218: importxml.pl was doing a query against the products table using the old... X-Git-Tag: bugzilla-2.17.3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3154b337738036d402321654046ed453059d82da;p=thirdparty%2Fbugzilla.git Bug 186218: importxml.pl was doing a query against the products table using the old schema Patch by Jonathan Schatz r= justdave, a= justdave --- diff --git a/importxml.pl b/importxml.pl index 1777bfc4a0..6575e2f62a 100755 --- a/importxml.pl +++ b/importxml.pl @@ -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");