diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-10-26 17:28:07 -0400 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-10-26 17:28:07 -0400 |
commit | 847475fe542f6c36245a4bcef3733a79a274c850 (patch) | |
tree | 4a702c363c465344f6609697a15550ebe4c40941 | |
parent | d5b87ec138a6c3b4fbbd31c22553de9e5f173776 (diff) | |
download | aurweb-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.php | 6 |
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']; |