* Fix bug#20886,16610

This commit is contained in:
zenggang
2022-04-07 01:58:09 +00:00
parent c971b37e71
commit 2429bc7f6e
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -181,7 +181,8 @@ class group extends control
if($type == 'byModule') $result = $this->group->updatePrivByModule();
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
return print(js::alert($this->lang->saveSuccess) . js::execute('window.parent.location.reload()'));
if($type == 'byGroup') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
if($type == 'byModule') return print(js::alert($this->lang->saveSuccess) . js::execute('window.parent.location.reload()'));
}
if($type == 'byGroup')