diff options
author | dartcafe <github@dartcafe.de> | 2021-03-06 20:08:20 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-03-06 20:08:20 +0300 |
commit | b3c1284cb95642f0400811ecbc37cbd3b8dfab2e (patch) | |
tree | 56ab30d957c6117869cf3bda2e32e4ef67f7913c /lib | |
parent | ddebf8005475fc33a6fff43382a9d14bd1f7cd48 (diff) |
fix comparism in mail controller
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/MailService.php | 2 |
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) { |