* Code for task #102745.

This commit is contained in:
tanghucheng
2023-09-19 03:45:16 -04:00
parent dafa4a41dd
commit d875971ba0
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -401,10 +401,6 @@ class task extends control
$taskConsumed = 0;
if($taskID) $taskConsumed = $this->dao->select('consumed')->from(TABLE_TASK)->where('id')->eq($taskID)->andWhere('parent')->eq(0)->fetch('consumed');
/* When common task are child tasks, query whether common task are consumed. */
$taskConsumed = 0;
if($taskID) $taskConsumed = $this->dao->select('consumed')->from(TABLE_TASK)->where('id')->eq($taskID)->andWhere('parent')->eq(0)->fetch('consumed');
if(!empty($_POST))
{
$mails = $this->task->batchCreate($executionID, $extra);