* Compatible with feature switch and light mode.

This commit is contained in:
hufangzhou
2023-04-19 17:14:48 +08:00
parent 438c55d059
commit 259397e810
2 changed files with 17 additions and 4 deletions
+3 -3
View File
@@ -247,9 +247,9 @@ class group extends control
$this->view->menu = $menu;
$this->view->version = $version;
$privs = $this->group->getPrivsListByView($menu);
$privLang = $this->group->transformPrivLang($privs);
$privs = $this->group->getCustomPrivs($menu, $privs);
$privs = $this->group->getPrivsListByView($menu);
$privs = $this->group->transformPrivLang($privs);
$privs = $this->group->getCustomPrivs($menu, $privs);
$privList = $modules;
$privMethods = array();