From 6225b8aecb913ee79fa7c51c857ddfc3a99788fb Mon Sep 17 00:00:00 2001 From: Yagami Date: Sat, 23 Feb 2019 13:16:24 +0800 Subject: [PATCH] * Finish task #5306. --- module/company/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/company/control.php b/module/company/control.php index 30a01287d7..1eeb8fc949 100644 --- a/module/company/control.php +++ b/module/company/control.php @@ -71,6 +71,8 @@ class company extends control /* Get users. */ $users = $this->company->getUsers($type, $queryID, $deptID, $sort, $pager); + /* Remove passwd. */ + foreach($users as $user) $user->password = ''; /* Assign. */ $this->view->title = $this->lang->company->index . $this->lang->colon . $this->lang->dept->common;