* adjust code for entry visit.

This commit is contained in:
wangyidong
2019-01-28 10:17:41 +08:00
parent 0906b11d2b
commit 4a3b76de13
@@ -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;