|
...
|
...
|
@@ -78,7 +78,7 @@ class HrLogic extends BaseLogic |
|
|
|
if($this->manager['gid'] != ManageHr::GID_ZERO){
|
|
|
|
$groupModel = new Group();
|
|
|
|
$groupInfo = $groupModel->read(['id'=>$this->manager['gid']]);
|
|
|
|
if (strpos(','.$groupInfo['rights'].',', ',20,') === false) {
|
|
|
|
if (!in_array(20,$groupInfo['rights'])) {
|
|
|
|
$this->param['id'] = $this->manager['id'];
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|