summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl
index ccb0e8167..ac18305e1 100644
--- a/globals.pl
+++ b/globals.pl
@@ -535,6 +535,7 @@ sub RemoveVotes {
close SENDMAIL;
}
SendSQL("delete from votes where bug_id = $id");
+ SendSQL("update bugs set votes = 0 where bug_id = $id");
}
}