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-10-14 14:55:51 +0300
committerdartcafe <github@dartcafe.de>2018-10-14 14:55:51 +0300
commit541612d2719c0f90bd00115c58dc3a745f2262ee (patch)
tree49e665d3849831032c9a8b03b0a346900d4d0800 /templates
parentcfcd1a054ff591690ae3d99a4d457118102218b8 (diff)
Adding vue-components
Diffstat (limited to 'templates')
-rw-r--r--templates/main.tmpl.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php
index 4d83c540..37307f6a 100644
--- a/templates/main.tmpl.php
+++ b/templates/main.tmpl.php
@@ -98,11 +98,7 @@
$owner = $poll->getOwner();
$expiry_style = '';
- if ($poll->getType() === 0) {
- $participated = $_['participations'];
- } else {
- $participated = $_['participations_text'];
- }
+ $participated = $_['votes'];
$participated_class = 'partic_no';
$participated_title = 'You did not vote';
$participated_count = count($participated);