* code for task#1030.

This commit is contained in:
zhujinyong
2013-01-09 06:35:02 +00:00
parent 0951df0cbd
commit ae9da000b1
6 changed files with 27 additions and 2 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ class task extends control
if(!empty($_POST))
{
$changes = $this->task->record($taskID);
$actionID = $this->action->create('task', $taskID, 'Record', '');
$actionID = $this->action->create('task', $taskID, 'Recorded', $this->post->comment, (float)$this->post->consumed);
$this->action->logHistory($actionID, $changes);
die(js::locate($this->createLink('task', 'view', "taskID=$taskID"), 'parent'));
}