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:
-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 30a3ebec..7670d829 100644
--- a/lib/Service/MailService.php
+++ b/lib/Service/MailService.php
@@ -267,7 +267,7 @@ class MailService {
$this->trans->t('"{title}" had recent activity: ')
));
foreach ($log as $logItem) {
- if ($logItem->getPollId() === $poll->getId()) {
+ if (intval($logItem->getPollId()) === $poll->getId()) {
if ($poll->getAnonymous() || $poll->getShowResults() !== "always") {
$displayName = $this->trans->t('A user');
} elseif ($this->userManager->get($logItem->getUserId()) instanceof IUser) {