add missing CMailFile class requirement
This commit is contained in:
parent
0fa6329947
commit
c2ee562c89
@ -1656,6 +1656,7 @@ if (!$error && ($massaction == 'approveleave' || ($action == 'approveleave' && $
|
||||
|
||||
$trackid = 'leav'.$objecttmp->id;
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
|
||||
$mail = new CMailFile($subject, $emailTo, $emailFrom, $message, array(), array(), array(), '', '', 0, 0, '', '', $trackid);
|
||||
|
||||
// Sending email
|
||||
|
||||
Loading…
Reference in New Issue
Block a user