* finish task #2750.

This commit is contained in:
wangyidong
2016-11-23 10:59:00 +08:00
parent ceb1fd45fb
commit decf0f8b67
5 changed files with 39 additions and 48 deletions
+3
View File
@@ -1191,6 +1191,9 @@ class taskModel extends model
$task->productType = $product->type;
}
/* Set closed realname. */
if($task->assignedTo == 'closed') $task->assignedToRealName = 'Closed';
/* Compute task progess. */
if($task->consumed == 0 and $task->left == 0)
{