* finish task #3665.

This commit is contained in:
z
2020-11-11 14:43:05 +08:00
parent 6e4a3637b1
commit 305ceda937
+2
View File
@@ -797,6 +797,8 @@ class taskModel extends model
->setIF($this->post->status == 'wait' and $this->post->left == $oldTask->left and $this->post->consumed == 0 and $this->post->estimate, 'left', $this->post->estimate)
->setIF($oldTask->parent > 0 and !$this->post->parent, 'parent', 0)
->setIF($oldTask->parent < 0, 'estimate', $oldTask->estimate)
->setIF($oldTask->parent < 0, 'left', $oldTask->left)
->setDefault('lastEditedBy', $this->app->user->account)
->add('lastEditedDate', $now)