From 303a4e39e588c6e86eedd117727114e33fcb1cfb Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Fri, 23 Aug 2024 08:32:42 +0200 Subject: [PATCH] Fix notification message about updated event --- docs/CHANGELOG.md | 1 + notifications/EventUpdated.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 84b0dd4b..0130e0b1 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,7 @@ Changelog - Fix #477: Hide the settings button when module is not available for a container - Enh #466: Fix period selector on default reminder settings - Fix: Add autofocus on event edit and event type edit (for HumHub 1.17 - see https://github.com/humhub/humhub/issues/7136) +- Fix #500: Fix notification message about updated event 1.6.2 (July 16, 2024) --------------------- diff --git a/notifications/EventUpdated.php b/notifications/EventUpdated.php index 9dc4e751..116f74d5 100644 --- a/notifications/EventUpdated.php +++ b/notifications/EventUpdated.php @@ -34,7 +34,7 @@ public function html() if ($this->source->content->container instanceof Space) { return Yii::t('CalendarModule.notifications_views_CanceledEvent', '{displayName} updated the event "{contentTitle}" in the space {spaceName}.', array_merge([ 'spaceName' => Html::encode($this->source->content->container->displayName), - ])); + ], $params)); } return Yii::t('ContentModule.notifications_views_ContentCreated', '{displayName} updated the event "{contentTitle}".', $params);