* adjust code for task #538.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-25 02:23:22 +00:00
parent 28957fca2f
commit cf5d382ebc
6 changed files with 12 additions and 8 deletions

View File

@@ -119,6 +119,7 @@ class task extends control
}
$stories = $this->story->getProjectStoryPairs($projectID);
$stories['same'] = $this->lang->task->same;
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted');
$header['title'] = $project->name . $this->lang->colon . $this->lang->task->create;
$position[] = html::a($taskLink, $project->name);
@@ -489,7 +490,7 @@ class task extends control
}
/* Get action info. */
$action = $this->action->getById($actionID);
$action = $this->loadModel('action')->getById($actionID);
$history = $this->action->getHistory($actionID);
$action->history = isset($history[$actionID]) ? $history[$actionID] : array();