* [bug#67262] Fix the bug of create programplan.

This commit is contained in:
xieqiyu
2025-11-14 06:54:40 +00:00
parent db3e56f4a3
commit 7aec54fcc3
4 changed files with 5 additions and 5 deletions
+1
View File
@@ -188,6 +188,7 @@ class programplan extends control
if(empty($plan->realBegan)) $plan->realBegan = null;
if(empty($plan->realEnd)) $plan->realEnd = null;
if(empty($plan->percent)) $plan->percent = 0;
$plan = $this->programplanZen->prepareEditPlan($planID, $projectID, $plan, isset($parentStage) ? $parentStage : null);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));