summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-10-26 17:28:07 -0400
committerLoui Chang <louipc.ist@gmail.com>2009-10-26 17:28:07 -0400
commit847475fe542f6c36245a4bcef3733a79a274c850 (patch)
tree4a702c363c465344f6609697a15550ebe4c40941
parentd5b87ec138a6c3b4fbbd31c22553de9e5f173776 (diff)
downloadaurweb-847475fe542f6c36245a4bcef3733a79a274c850.tar.xz
Untranslate TU vote fields so they're properly saved in the database.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/html/tu.php6
1 files changed, 3 insertions, 3 deletions
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'];