* Fix bug #15442.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user