diff --git a/src/application/index/controller/BaseController.php b/src/application/index/controller/BaseController.php index f31c5bff..32343f49 100644 --- a/src/application/index/controller/BaseController.php +++ b/src/application/index/controller/BaseController.php @@ -180,7 +180,7 @@ protected function seo($title = '', $keys = '', $desc = '') */ protected function setLogin($member, $logintype = 1) { - if ($member['status'] != '1') { + if (isset($member['status']) && $member['status'] != '1') { $this->error('会员已禁用'); } session('userid', $member['id']);