From 4a3b76de13788cdab1250552c83596a04cc50179 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 28 Jan 2019 10:17:41 +0800 Subject: [PATCH] * adjust code for entry visit. --- xuanxuan/module/entry/ext/control/visit.php | 1 - 1 file changed, 1 deletion(-) diff --git a/xuanxuan/module/entry/ext/control/visit.php b/xuanxuan/module/entry/ext/control/visit.php index 608bf4e307..5431b2ede5 100644 --- a/xuanxuan/module/entry/ext/control/visit.php +++ b/xuanxuan/module/entry/ext/control/visit.php @@ -45,7 +45,6 @@ class entry extends control $this->loadModel('user'); $user = $this->dao->select('*')->from(TABLE_USER)->where('id')->eq($this->session->userID)->fetch(); - unset($user->password); $this->user->cleanLocked($user->account); $user->admin = strpos($this->app->company->admins, ",{$user->account},") !== false;