Merge pull request #1463 from nextcloud/fix/mailnotification
fix comparism in mail controller
This commit is contained in:
Коммит
52f6db1182
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче