* Finish task #83744.

This commit is contained in:
tianshujie
2023-02-06 12:02:31 +08:00
parent a1aa671bb2
commit 5b6978ed8b
+4 -5
View File
@@ -199,11 +199,7 @@ class group extends control
*/
public function managePriv($type = 'byGroup', $param = 0, $menu = '', $version = '')
{
if($type == 'byGroup')
{
$groupID = $param;
$this->lang->custom->common = $this->lang->group->config;
}
if($type == 'byGroup') $groupID = $param;
$this->view->type = $type;
foreach($this->lang->resource as $moduleName => $action)
@@ -239,6 +235,9 @@ class group extends control
if(version_compare($currentVersion, $realVersion, '>=')) $changelog[] = join(',', $currentChangeLog);
}
$this->lang->custom->common = $this->lang->group->config;
if($this->config->edition == 'max') $this->lang->baseline->common = $this->lang->group->docTemplate;
$this->view->group = $group;
$this->view->changelogs = ',' . join(',', $changelog) . ',';
$this->view->groupPrivs = $groupPrivs;