* adjust position for the function of clear.

This commit is contained in:
wyd621
2014-03-24 01:15:44 +00:00
parent aa7a270e68
commit 01d820accb
6 changed files with 22 additions and 6 deletions
+3 -1
View File
@@ -766,6 +766,9 @@ class testtask extends control
*/
public function sendmail($testtaskID, $actionID, $actionType)
{
/* Reset $this->output. */
$this->clear();
$testtask = $this->testtask->getByID($testtaskID);
$action = $this->action->getById($actionID);
$users = $this->loadModel('user')->getPairs('noletter');
@@ -773,7 +776,6 @@ class testtask extends control
$this->view->testtask = $testtask;
$this->view->action = $action;
$this->view->users = $users;
$this->clear();
$mailContent = $this->parse($this->moduleName, 'sendmail');