diff options
Diffstat (limited to 'web/html/tu.php')
-rw-r--r-- | web/html/tu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/tu.php b/web/html/tu.php index 6e202c80..59cac1a2 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -72,7 +72,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") { } if ($canvote == 1) { - if (isset($_POST['doVote'])) { + if (isset($_POST['doVote']) && check_token()) { if (isset($_POST['voteYes'])) { $myvote = "Yes"; } else if (isset($_POST['voteNo'])) { |