diff --git a/application/admin/controller/wdsxh/member/Rights.php b/application/admin/controller/wdsxh/member/Rights.php index 1b7b5a9..786b5cc 100755 --- a/application/admin/controller/wdsxh/member/Rights.php +++ b/application/admin/controller/wdsxh/member/Rights.php @@ -30,8 +30,10 @@ class Rights extends Backend $this->level_model = new \app\admin\model\wdsxh\member\Level; $level_id = $this->request->get('level_id'); - $level = $this->level_model->get($level_id); - $this->view->assign('join_config_id', $level['join_config_id']); + if (!empty($level_id)) { + $level = $this->level_model->get($level_id); + $this->view->assign('join_config_id', $level['join_config_id']); + } $this->searchFields = ['title']; }