summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-10-26 22:28:07 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-10-26 22:28:07 +0100
commit847475fe542f6c36245a4bcef3733a79a274c850 (patch)
tree4a702c363c465344f6609697a15550ebe4c40941 /web
parentd5b87ec138a6c3b4fbbd31c22553de9e5f173776 (diff)
downloadaur-847475fe542f6c36245a4bcef3733a79a274c850.tar.gz
aur-847475fe542f6c36245a4bcef3733a79a274c850.tar.xz
Untranslate TU vote fields so they're properly saved in the database.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-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 c054b3b7..a115c587 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'];