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>2020-06-23 13:02:00 +0300
committerdartcafe <github@dartcafe.de>2020-06-23 13:02:00 +0300
commiteb89a6d643b41ed7eb0c32876ba107d6b8274a68 (patch)
tree03817cec90fe0c93c8761cdd9ede5f39d51a36f4 /lib/Service
parent4576e62164a2a4804c162367ab375b87c29530a0 (diff)
Fix
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/MailService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/MailService.php b/lib/Service/MailService.php
index 5424494c..915632f6 100644
--- a/lib/Service/MailService.php
+++ b/lib/Service/MailService.php
@@ -352,7 +352,7 @@ class MailService {
foreach ($log as $logItem) {
if ($logItem->getPollId() === $subscription->getPollId()) {
- if ($poll->getAnonymous() || $poll->showResults() !== "always") {
+ if ($poll->getAnonymous() || $poll->getShowResults() !== "always") {
$displayUser = "A user";
} elseif ($this->userManager->get($logItem->getUserId()) instanceof IUser) {
$displayUser = $this->userManager->get($logItem->getUserId())->getDisplayName();