Merge branch 'master' into develop

This commit is contained in:
Lucas Bartholemy 2020-10-09 17:53:43 +02:00
commit 172fd0fd0f
2 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,8 @@
HumHub Changelog
================
1.6.4 (Unreleased)
------------------
1.6.4 (October 9, 2020)
-----------------------
This release also brings a [security update](https://github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj) of the Yii2 framework. HumHub itself and the modules provided by our offical marketplace are not affected by this bug.
@ -13,6 +13,7 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4384: Upgrade to Yii 2.0.38
- Fix #4403: Space Picker Double HTML Encode
- Fix #4385: Tour broken when profile start page is changed
- Fix #4430: Invalid notifications breaks notification overview
1.6.3 (September 9, 2020)

View File

@ -7,7 +7,11 @@ use yii\helpers\Html;
<?= Html::beginTag('div', $options) ?>
<?= Html::beginTag('ul', ['class' => 'media-list']) ?>
<?php foreach ($notifications as $notification) : ?>
<?= $notification->render(); ?>
<?php try { ?>
<?= $notification->render() ?>
<?php } catch(\Throwable $t) {
Yii::warning($t, 'notification');
}?>
<?php endforeach; ?>
<?php if (empty($notifications)) : ?>
<?= Yii::t('NotificationModule.base', 'No notifications found!'); ?>