diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 3169bb65ba2..e0659fcc910 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -71,7 +71,7 @@ class Notify $langs->load("mails"); $nb=$this->countDefinedNotifications($action,$socid); - if ($nb <= 0) $texte=$langs->trans("NoNotificationsWillBeSent"); + if ($nb <= 0) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("NoNotificationsWillBeSent"); if ($nb == 1) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("ANotificationsWillBeSent"); if ($nb >= 2) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("SomeNotificationsWillBeSent",$nb); return $texte; diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 6169a06701c..67aeff80d15 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -221,7 +221,7 @@ class pdf_crabe extends ModelePDFFactures $pdf->SetFont('','', 9); $pdf->SetXY ($this->posxdesc-1, $tab_top); //$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J', false, 1, '', '', true, 0, false, false, 0, 'T', true); - $pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J', false); // FPDF + $pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J'); // FPDF $nexY = $pdf->GetY(); $height_note=$nexY-$tab_top;