summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
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";