Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-12-01 14:02:58 +0300
committerdartcafe <github@dartcafe.de>2018-12-01 14:02:58 +0300
commita88e316d67eb0fc677a4ddbc24dd161be5c05338 (patch)
tree3eedea7bf7cdd89375d5c080e116d7798fc07fc1 /templates
parent94af7c7fed671e1f7e27cc22d1ee6c76e1bccfde (diff)
Switched disallow maybe to allow.
Diffstat (limited to 'templates')
-rw-r--r--templates/vote.tmpl.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/vote.tmpl.php b/templates/vote.tmpl.php
index c4edb898..0f5d6690 100644
--- a/templates/vote.tmpl.php
+++ b/templates/vote.tmpl.php
@@ -56,10 +56,10 @@
$isAnonymous = $poll->getIsAnonymous() && $userId !== $poll->getOwner();
$hideNames = $poll->getIsAnonymous() && $poll->getFullAnonymous();
- if ($poll->getDisallowMaybe()) {
- $maybe = 'maybedisallowed';
- } else {
+ if ($poll->getAllowMaybe()) {
$maybe = 'maybeallowed';
+ } else {
+ $maybe = 'maybedisallowed';
}
$access = $poll->getAccess();
$updatedPoll = false;