From f4438fedc1d357948c6bc13e595add674d150f02 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Thu, 2 May 2013 06:48:31 +0000 Subject: [PATCH] * code for task#1195. --- module/company/view/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/company/view/browse.html.php b/module/company/view/browse.html.php index 4a41a48b34..36be267689 100644 --- a/module/company/view/browse.html.php +++ b/module/company/view/browse.html.php @@ -64,7 +64,7 @@ js::set('deptID', $deptID); id&from=company", '', 'list'); - if(strpos($this->app->company->admins, ",{$this->app->user->account},") === false or $this->app->user->account != $user->account) common::printIcon('user', 'delete', "userID=$user->id", '', 'list', '', "hiddenwin"); + if(strpos($this->app->company->admins, ",{$user->account},") === false) common::printIcon('user', 'delete', "userID=$user->id", '', 'list', '', "hiddenwin"); if((strtotime(date('Y-m-d H:i:s')) - strtotime($user->locked)) < $this->config->user->lockMinutes * 60) { common::printIcon('user', 'unlock', "userID=$user->account", '', 'list', '', "hiddenwin");