* Adjust for todo edit page.

This commit is contained in:
wangyidong
2023-07-28 11:16:02 +08:00
parent 36810207d1
commit 4c30342f5f
16 changed files with 114 additions and 178 deletions
+1 -1
View File
@@ -2993,7 +2993,7 @@ class taskModel extends model
/* If the todo comes from a feedback, update the feedback information. */
$todo = $this->dao->findByID($todoID)->from(TABLE_TODO)->fetch();
if($this->config->edition != 'open' && $todo->type == 'feedback' && $todo->objectID) $this->loadModel('feedback')->updateStatus('todo', $todo->idvalue, 'done');
if($this->config->edition != 'open' && $todo->type == 'feedback' && $todo->objectID) $this->loadModel('feedback')->updateStatus('todo', $todo->objectID, 'done');
}
/* If the task comes from a design, update the task information. */