mirror of
https://github.com/humhub/humhub.git
synced 2025-03-04 07:08:58 +01:00
Merge branch 'master' of github.com:humhub/humhub
This commit is contained in:
commit
5354c1d063
@ -137,7 +137,7 @@ class AdminMenu extends \humhub\widgets\BaseMenu
|
||||
'icon' => '<i class="fa fa-wrench"></i>',
|
||||
'group' => 'settings',
|
||||
'sortOrder' => 500,
|
||||
'isActive' => (Yii::$app->controller->module && Yii::$app->controller->module->id == 'admin' && Yii::$app->controller->id == 'userprofile'),
|
||||
'isActive' => (Yii::$app->controller->module && Yii::$app->controller->module->id == 'admin' && Yii::$app->controller->id == 'user-profile'),
|
||||
'isVisible' => Yii::$app->user->isAdmin(),
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user