diff options
author | bbaetz%student.usyd.edu.au <> | 2002-08-14 20:55:24 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-08-14 20:55:24 +0200 |
commit | 0c535b34a908839bdad2009c44d63b993d51b935 (patch) | |
tree | ea93b8322a1ff7cee4921c037ee74f192bde2046 /process_bug.cgi | |
parent | eaa936685f9099320de7cc75afd58186ca409c2f (diff) | |
download | bugzilla-0c535b34a908839bdad2009c44d63b993d51b935.tar.gz bugzilla-0c535b34a908839bdad2009c44d63b993d51b935.tar.xz |
Bug 162642 - Cannot accept bugs if requiremilestone is on; regression from
bug 43600
r=preed x2
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 0a1ff2728..c4a9af033 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -230,7 +230,7 @@ if ((($::FORM{'id'} && $::FORM{'product'} ne $::oldproduct) $defaults{'target_milestone'} = $::FORM{'target_milestone'}; } else { SendSQL("SELECT defaultmilestone FROM products WHERE " . - "product = " . SqlQuote($prod)); + "name = " . SqlQuote($prod)); $defaults{'target_milestone'} = FetchOneColumn(); } } @@ -977,7 +977,7 @@ foreach my $id (@idlist) { if (!defined $value || $value eq $::dontchange) { $value = $oldhash{'target_milestone'}; } - SendSQL("SELECT defaultmilestone FROM products WHERE product = " . + SendSQL("SELECT defaultmilestone FROM products WHERE name = " . SqlQuote($oldhash{'product'})); if ($value eq FetchOneColumn()) { SendSQL("UNLOCK TABLES"); |