Fix travis

This commit is contained in:
andreubisquerra 2020-04-30 01:27:55 +02:00 committed by GitHub
parent 4dbd16077e
commit 281a97404a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ if ($action=="send")
$arraydefaultmessage = $formmail->getEMailTemplate($db, 'facture_send', $user, $outputlangs, $model_id); $arraydefaultmessage = $formmail->getEMailTemplate($db, 'facture_send', $user, $outputlangs, $model_id);
$subject = $arraydefaultmessage->topic; $subject = $arraydefaultmessage->topic;
ob_start(); // turn on output receipt ob_start(); // turn on output receipt
include('receipt.php'); include 'receipt.php';
$receipt = ob_get_contents(); // get the contents of the output buffer $receipt = ob_get_contents(); // get the contents of the output buffer
ob_end_clean(); ob_end_clean();
$msg="<html>".$arraydefaultmessage->content."<br>".$receipt."</html>"; $msg="<html>".$arraydefaultmessage->content."<br>".$receipt."</html>";