From e9289b68d5cb0ee03027bde9c26dfb07b891fa50 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 18 May 2022 11:10:54 +0800 Subject: [PATCH] * adjust for data. --- module/execution/control.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index e89bd30f80..e35b963e0f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2204,9 +2204,10 @@ class execution extends control } $userList = $this->dao->select('account, realname, avatar')->from(TABLE_USER)->where('deleted')->eq(0)->fetchAll('account'); - $userList['closed']['account'] = 'Closed'; - $userList['closed']['realname'] = 'Closed'; - $userList['closed']['avatar'] = ''; + $userList['closed'] = new stdclass(); + $userList['closed']->account = 'Closed'; + $userList['closed']->realname = 'Closed'; + $userList['closed']->avatar = ''; $this->view->title = $this->lang->execution->kanban; $this->view->realnames = $this->loadModel('user')->getPairs('noletter');