@@ -63,7 +63,7 @@ class TaskProc {
} else {
foreach ($dic as $uid => $task) {
$t = new Ins_TaskStep_Active($task);
- if ($t->mo()->type == $type && $t->isFinish()) {
+ if ($t->mo()->type == $type && $t->state == Enum_TaskCardStateType::finish) {
$arr[] = $uid;
}