mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix invalid message pattern without initialized source language (#5969)
This commit is contained in:
parent
e282f0bda4
commit
52bdffc523
@ -6,6 +6,7 @@ HumHub Changelog
|
||||
- Fix #5928: Invalid Mailer DSN breaks whole application
|
||||
- Fix #5960: Fix cropping of space banner
|
||||
- Fix #5967: Fix creating of user from administration with enabled notification for default group
|
||||
- Fix #5966: Fix invalid message pattern without initialized source language
|
||||
|
||||
1.12.2 (November 11, 2022)
|
||||
--------------------------
|
||||
|
@ -39,6 +39,8 @@ class ModuleMessageSource extends PhpMessageSource
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
|
||||
if ($this->module === null && !empty($this->moduleId)) {
|
||||
$this->module = Yii::$app->moduleManager->getModule($this->moduleId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user