mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: Exception on notification overview page when not logged in
This commit is contained in:
parent
4db81eee83
commit
161db160f8
@ -11,6 +11,7 @@ Important note for LDAP users: There is a new setting "ID Attribute" which shoul
|
||||
- Enh: Option to disable e-mail address requirement in User model
|
||||
- Fix: Overwrite of static image in theme + added documentation section
|
||||
- Fix: Account Controller exception when user is not logged in
|
||||
- Fix: Exception on notification overview page when not logged in
|
||||
|
||||
|
||||
1.2.2 (August 2, 2017)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* @link https://www.humhub.org/
|
||||
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
|
||||
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
|
||||
* @license https://www.humhub.com/licences
|
||||
*/
|
||||
|
||||
@ -39,6 +39,10 @@ class OverviewController extends Controller
|
||||
*/
|
||||
public function actionIndex()
|
||||
{
|
||||
if (Yii::$app->user->isGuest) {
|
||||
return Yii::$app->user->loginRequired();
|
||||
}
|
||||
|
||||
$pageSize = 10;
|
||||
$notifications = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user