From e707f73067946e5322a5791022347b70a648c50e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Oct 2012 10:04:08 +0200 Subject: [PATCH] Fix: getTrad --- htdocs/core/modules/facture/doc/pdf_oursin.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/facture/doc/pdf_oursin.modules.php b/htdocs/core/modules/facture/doc/pdf_oursin.modules.php index 20057a2b111..fc0bfbb8824 100755 --- a/htdocs/core/modules/facture/doc/pdf_oursin.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_oursin.modules.php @@ -434,7 +434,7 @@ class pdf_oursin extends ModelePDFFactures $pdf->SetXY($tab3_posx+21, $tab3_top+$y); $pdf->MultiCell(20, 3, price($row->amount), 0, 'L', 0); $pdf->SetXY($tab3_posx+40, $tab3_top+$y); - $oper = $outputlangs->getTradFromKey("PaymentTypeShort" . $row->code); + $oper = $outputlangs->transnoentitiesnoconv("PaymentTypeShort" . $row->code); $pdf->MultiCell(20, 3, $oper, 0, 'L', 0); $pdf->SetXY($tab3_posx+58, $tab3_top+$y);