From 4554a44aae8fdf5123536c57e05fdd5dd447386b Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 26 Dec 2018 09:47:05 +0800 Subject: [PATCH] * finish task #5172. --- module/task/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/model.php b/module/task/model.php index fe042c3a73..3ee0345755 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -598,7 +598,7 @@ class taskModel extends model ->setIF($this->post->assignedTo != $oldTask->assignedTo, 'assignedDate', $now) - ->setIF($this->post->status == 'wait' and $this->post->left == $oldTask->left and $this->post->consumed == 0, 'left', $this->post->estimate) + ->setIF($this->post->status == 'wait' and $this->post->left == $oldTask->left and $this->post->consumed == 0 and $this->post->estimate, 'left', $this->post->estimate) ->add('lastEditedBy', $this->app->user->account) ->add('lastEditedDate', $now)