* Adjust stage edit dao error.

This commit is contained in:
caoyanyi
2024-01-25 15:54:13 +08:00
parent 47cfabb2d5
commit 2e84912ce9
+2
View File
@@ -165,7 +165,9 @@ class programplanZen extends programplan
if(isset($parentStage) && $plan->begin < $parentStage->begin) dao::$errors['begin'] = sprintf($this->lang->programplan->error->letterParent, $parentStage->begin);
if(isset($parentStage) && $plan->end > $parentStage->end) dao::$errors['end'] = sprintf($this->lang->programplan->error->greaterParent, $parentStage->end);
}
if($projectID) $this->execution->checkBeginAndEndDate($projectID, $plan->begin, $plan->end, $plan->parent);
if(dao::isError()) return $plan;
if(!empty($this->config->setPercent))
{