* fix bug for send mail.

This commit is contained in:
wangyidong
2016-12-28 18:31:53 +08:00
parent 0873ca1864
commit 2ab3441386
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -758,7 +758,7 @@ class testtaskModel extends model
$action->history = isset($history[$actionID]) ? $history[$actionID] : array();
/* Get mail content. */
$modulePath = $this->app->getModulePath();
$modulePath = $this->app->getModulePath($appName = '', 'testtask');
$oldcwd = getcwd();
$viewFile = $modulePath . 'view/sendmail.html.php';
chdir($modulePath . 'view');