* Fix for feedback#3456.

This commit is contained in:
zhujinyong
2023-10-07 17:21:22 +08:00
parent 42131a0b47
commit 7ab1a6abfe
+2 -2
View File
@@ -223,8 +223,8 @@ class programplanModel extends model
$data->parent = $plan->grade == 1 ? 0 : $plan->parent;
$data->isParent = $plan->isParent;
$data->open = true;
$data->start_date = $realBegan ? $realBegan : $start;
$data->endDate = $realEnd ? $realEnd : $end;
$data->start_date = $start;
$data->endDate = $end;
$data->duration = 1;
$data->color = $this->lang->execution->gantt->stage->color;
$data->progressColor = $this->lang->execution->gantt->stage->progressColor;