* fix the bug when import tasks.

This commit is contained in:
wangchunsheng
2010-11-24 14:04:18 +00:00
parent e9e28f418d
commit a9f7e2f05d
11 changed files with 57 additions and 37 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ class task extends control
$this->view->header->title = $this->lang->task->edit;
$this->view->position[] = $this->lang->task->edit;
$this->view->stories = $this->story->getProjectStoryPairs($this->view->project->id);
$this->view->members = $this->loadModel('user')->appendDeleted($this->view->members, $this->view->task->owner);
$this->view->members = $this->loadModel('user')->appendDeleted($this->view->members, $this->view->task->assignedTo);
$this->display();
}
@@ -323,7 +323,7 @@ class task extends control
{
/* Set toList and ccList. */
$task = $this->task->getByID($taskID);
$toList = $task->owner;
$toList = $task->assignedTo;
$ccList = trim($task->mailto, ',');
if($toList == '')