* fix bug for undelete plan.

This commit is contained in:
wangyidong
2019-08-27 09:55:06 +08:00
parent c40fc9a762
commit 46a6444168
+1 -1
View File
@@ -983,7 +983,7 @@ class actionModel extends model
}
/* Revert productplan parent status. */
if($action->objectType == 'productplan') $this->productplan->changeParentField($action->objectID);
if($action->objectType == 'productplan') $this->loadModel('productplan')->changeParentField($action->objectID);
/* Update task status when undelete child task. */
if($action->objectType == 'task') $this->loadModel('task')->updateParentStatus($action->objectID);