summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/tu.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index a6aa292..5d4e37d 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -39,6 +39,9 @@ if ($atype == "Trusted User" || $atype == "Developer") {
if ($isrunning == 0) {
$canvote = 0;
$errorvote = __("Voting is closed for this proposal.");
+ } else if ($atype == "Developer") {
+ $canvote = 0;
+ $errorvote = __("Only Trusted Users are allowed to vote.");
} else if ($row['User'] == username_from_sid($_COOKIE["AURSID"])) {
$canvote = 0;
$errorvote = __("You cannot vote in an proposal about you.");