diff --git a/module/execution/control.php b/module/execution/control.php index 58077ea694..774d2fd3fe 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1973,10 +1973,10 @@ class execution extends control foreach($plans as $plan) $allPlans += $plan; } - $userList = $this->dao->select('account, realname name, avatar')->from(TABLE_USER)->where('deleted')->eq(0)->fetchAll('account'); - $userList['closed']['account'] = 'Closed'; - $userList['closed']['name'] = 'Closed'; - $userList['closed']['avatar'] = ''; + $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'] = ''; $this->view->title = $this->lang->execution->kanban; $this->view->position[] = html::a($this->createLink('execution', 'browse', "executionID=$executionID"), $execution->name); diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 4be339dd2d..daf1724e18 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -39,7 +39,7 @@ function renderUserAvatar(user, objectType, objectID, size) if(objectType == 'story' && !priv.canAssignStory) return $noPrivAvatar; if(objectType == 'bug' && !priv.canAssignBug) return $noPrivAvatar; - return $('').avatar({user: user}); + return $('').avatar({user: user}); } /**