aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-10 13:54:58 +0000
committergerv%gerv.net <>2002-10-10 13:54:58 +0000
commit049825b26e8f03ddf519fb33a52063eece8f94b3 (patch)
tree769636f0be8d11edd96cbf68736a5afadad94913 /editmilestones.cgi
parentBug 173249 - user-error.html.tmpl: Bogus title, inconsistent indenting. Patch... (diff)
downloadbugzilla-049825b26e8f03ddf519fb33a52063eece8f94b3.tar.gz
bugzilla-049825b26e8f03ddf519fb33a52063eece8f94b3.tar.bz2
bugzilla-049825b26e8f03ddf519fb33a52063eece8f94b3.zip
Bug 173581 - Changing milestone sortkeys is broken. Patch by gerv; r=bbaetz.
Diffstat (limited to 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmilestones.cgi b/editmilestones.cgi
index c7d598bea..2db10ea32 100755
--- a/editmilestones.cgi
+++ b/editmilestones.cgi
@@ -518,7 +518,7 @@ if ($action eq 'update') {
if ($sortkey != $sortkeyold) {
SendSQL("UPDATE milestones SET sortkey=$sortkey
- WHERE product=" . SqlQuote($product) . "
+ WHERE product_id=" . $product_id . "
AND value=" . SqlQuote($milestoneold));
unlink "data/versioncache";
print "Updated sortkey.<BR>\n";