From 847475fe542f6c36245a4bcef3733a79a274c850 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 26 Oct 2009 17:28:07 -0400 Subject: Untranslate TU vote fields so they're properly saved in the database. Signed-off-by: Loui Chang --- web/html/tu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/html/tu.php') diff --git a/web/html/tu.php b/web/html/tu.php index c054b3b..a115c58 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -67,11 +67,11 @@ if ($atype == "Trusted User" OR $atype == "Developer") { if ($canvote == 1) { if (isset($_POST['doVote'])) { if (isset($_POST['voteYes'])) { - $myvote = __("Yes"); + $myvote = "Yes"; } else if (isset($_POST['voteNo'])) { - $myvote = __("No"); + $myvote = "No"; } else if (isset($_POST['voteAbstain'])) { - $myvote = __("Abstain"); + $myvote = "Abstain"; } $qvote = "UPDATE TU_VoteInfo SET " . $myvote . " = " . ($row[$myvote] + 1) . " WHERE ID = " . $row['ID']; -- cgit v1.2.3-54-g00ecf