mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 20:19:47 +01:00
parent
9801c330f2
commit
839bc64818
@ -41,7 +41,7 @@ class ThemeHelper
|
||||
|
||||
// Collect themes provided by modules
|
||||
foreach (Yii::$app->getModules() as $id => $module) {
|
||||
if (is_array($module)) {
|
||||
if (is_array($module) || is_string($module)) {
|
||||
$module = Yii::$app->getModule($id);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user