This commit is contained in:
zhouxudong
2022-04-08 09:21:39 +08:00
parent 3bf6c7fd5e
commit da24c3abf9

View File

@@ -1616,7 +1616,6 @@ class block extends control
*/
public function printExecutionOverviewBlock()
{
$this->app->loadLang('project');
$projectID = $this->view->block->module == 'my' ? 0 : (int)$this->session->project;
$executions = $this->loadModel('execution')->getList($projectID);
@@ -1629,6 +1628,7 @@ class block extends control
}
$overviewPercent = array();
$this->app->loadLang('project');
foreach($this->lang->project->statusList as $statusKey => $statusName)
{
if(!isset($overview[$statusKey])) $overview[$statusKey] = 0;