mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix error when no modules set
https://docs.humhub.org/docs/admin/requirements lists php 7.4 as minimum requirement. Hence, the array properties should actually be arrays. This caused log targets to be disabled due to the `ModuleManager::getModules()` throwing an error when `ModuleManager::$modules` would be null.
This commit is contained in:
parent
bb0d8a5f1f
commit
5eea8acd9b
@ -3,6 +3,7 @@ HumHub Changelog
|
||||
|
||||
1.13.2 (Unreleased)
|
||||
-------------------------
|
||||
- Fix #6195: Fix ModuleManager disabling logging when now modules set
|
||||
- Fix #5965: Suppress log warning 'Invalid session auth key attempted for user'
|
||||
- Fix #6084: Automatic LDAP user registration broken when not all req. attributes provided
|
||||
- Fix #6104: Fix update user with not existing group
|
||||
|
@ -70,9 +70,9 @@ class ModuleManager extends Component
|
||||
* List of all modules
|
||||
* This also contains installed but not enabled modules.
|
||||
*
|
||||
* @param array $config moduleId-class pairs
|
||||
* @param array $modules moduleId-class pairs
|
||||
*/
|
||||
protected $modules;
|
||||
protected $modules = [];
|
||||
|
||||
/**
|
||||
* List of all enabled module ids
|
||||
|
Loading…
x
Reference in New Issue
Block a user