diff --git a/module/programplan/model.php b/module/programplan/model.php index dd5a24b536..14350418b7 100755 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -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;