This commit is contained in:
hufangzhou
2023-12-25 10:31:58 +08:00
parent 147fe46f6d
commit 0d5ecea9ab
+1 -1
View File
@@ -1261,7 +1261,7 @@ class task extends control
$changes = $this->task->updateEstimate($estimateID);
if(dao::isError()) return print(js::error(dao::getError()));
$actionID = $this->loadModel('action')->create('task', $estimate->task, 'EditEstimate', $this->post->work);
$actionID = $this->loadModel('action')->create('task', $estimate->objectID, 'EditEstimate', $this->post->work);
$this->action->logHistory($actionID, $changes);
$url = $this->session->estimateList ? $this->session->estimateList : inlink('recordEstimate', "taskID={$estimate->task}");