* change the action from AssignedTo to Assigned.

This commit is contained in:
wangchunsheng
2011-12-07 07:29:44 +00:00
parent 92641a290a
commit ecfc5c9e2f
+1 -1
View File
@@ -221,7 +221,7 @@ class taskModel extends model
->set('lastEditedDate')->eq($now)
->where('id')->eq($taskID)->exec();
$actionID = $this->loadModel('action')->create('task', $taskID, 'AssignedTo', $this->post->comment);
$actionID = $this->loadModel('action')->create('task', $taskID, 'Assigned', $this->post->comment);
$this->dao->insert(TABLE_HISTORY)
->set('company')->eq(1)
->set('action')->eq($actionID)