From 76ca52a6b39694ebf1e9a83d61f333086bc17fdd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 11 Jul 2005 03:49:42 +0000 Subject: [PATCH] r319: Insert a row into `vote` so the voting system works. --- newreport.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newreport.php b/newreport.php index a0900c7..9e41b89 100755 --- a/newreport.php +++ b/newreport.php @@ -142,6 +142,8 @@ if ($_POST['do'] == 'insert') WHERE bugid = $bugid" ); + $db->query("INSERT INTO " . TABLE_PREFIX . "vote (bugid, votefor, voteagainst) VALUES ($bugid, 0, 0)"); + $message->redirect('bug is done!', "showreport.php?bugid=$bugid"); } -- 2.22.5