Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Aug 2, 2024
1 parent 9b5ac23 commit 7e7a13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/index/controller/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 7e7a13f

Please sign in to comment.