* [bug#55604,done,1h] fix show date info error.

This commit is contained in:
tianshujie
2025-01-02 11:16:47 +08:00
committed by 刘梦艺
parent 109915f7fe
commit 936be1d05d
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ class programplanZen extends programplan
$module = 'programplan';
if(!isset($this->config->programplan->browse->stageCustom)) $this->loadModel('setting')->setItem("$owner.$module.browse.stageCustom", 'date,task,point');
$selectCustom = $this->loadModel('setting')->getItem("owner={$owner}&module=programplan&section=browse&key=stageCustom");
$dateDetails = strpos($selectCustom, 'date') !== false ? 0 : 1; // Gantt chart detail date display.
$dateDetails = strpos($selectCustom, 'date') !== false ? false : true; // Gantt chart detail date display.
foreach(explode(',', $this->config->programplan->custom->customGanttFields) as $field) $customFields[$field] = $this->lang->programplan->ganttCustom[$field];
$this->view->customFields = $customFields;