Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0

This commit is contained in:
ldestailleur 2025-06-28 18:54:33 +02:00
parent 4a88509cdf
commit 1be67fee52

View file

@ -5762,7 +5762,7 @@ class Facture extends CommonInvoice
} else {
$outputlangs = $langs;
}
// Select email template according to language of recipient
$arraymessage = $formmail->getEMailTemplate($this->db, 'facture_send', $user, $outputlangs, (is_numeric($template) ? $template : 0), 1, (is_numeric($template) ? '' : $template));
if (is_numeric($arraymessage) && $arraymessage <= 0) {