* fix bug for custom.

This commit is contained in:
wangyidong
2019-02-12 10:10:21 +08:00
parent 60a408fe48
commit 767de3e234
2 changed files with 9 additions and 2 deletions
+6
View File
@@ -428,6 +428,12 @@ class taskModel extends model
if($status == 'doing')
{
if($parentTask->assignedTo == 'closed')
{
$task->assignedTo = $childTask->assignedTo;
$task->assignedDate = $now;
}
$task->finishedBy = '';
$task->finishedDate = '';
$task->closedBy = '';