This commit is contained in:
tianshujie
2024-01-05 08:54:01 +08:00
parent b133488adc
commit f52452c883
+1 -1
View File
@@ -151,7 +151,7 @@ class programplan extends control
$changes = $this->programplan->update($planID, $projectID, $plan);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
$newPlan = $this->programplan->fetchByID($plan->id);
$newPlan = $this->programplan->fetchByID($planID);
if($plan->parent != $newPlan->parent)
{
$this->programplan->computeProgress($planID, 'edit');