* fix bug#467.

This commit is contained in:
azhi
2013-08-21 10:50:41 +08:00
parent b74358ede4
commit c51ec3b379
+1 -1
View File
@@ -387,9 +387,9 @@ class taskModel extends model
$now = helper::now();
$task = fixer::input('post')
->setDefault('assignedTo', $this->app->user->account)
->setDefault('assignedDate', $now)
->setDefault('lastEditedBy', $this->app->user->account)
->setDefault('lastEditedDate', $now)
->setIF($oldTask->assignedTo != $this->app->user->account, 'assignedDate', $now)
->remove('comment')->get();
if($this->post->left == 0)
{