summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-10 15:54:58 +0200
committergerv%gerv.net <>2002-10-10 15:54:58 +0200
commit049825b26e8f03ddf519fb33a52063eece8f94b3 (patch)
tree769636f0be8d11edd96cbf68736a5afadad94913 /editmilestones.cgi
parentf125c052fe4dbda891e20fc971f5094dffdf566a (diff)
downloadbugzilla-049825b26e8f03ddf519fb33a52063eece8f94b3.tar.gz
bugzilla-049825b26e8f03ddf519fb33a52063eece8f94b3.tar.xz
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";