2
0
forked from Wavyzz/dolibarr

Fix: Useless call to html entities decoding

This commit is contained in:
Laurent Destailleur
2008-11-06 01:13:00 +00:00
parent aeb9f163ab
commit be8714813e
8 changed files with 8 additions and 8 deletions

View File

@@ -157,7 +157,7 @@ class pdf_soleil extends ModelePDFFicheinter
$pdf->_out(sprintf('q %.5F %.5F %.5F %.5F %.2F %.2F cm 1 0 0 1 %.2F %.2F cm',cos($watermark_angle),sin($watermark_angle),-sin($watermark_angle),cos($watermark_angle),$watermark_x*$pdf->k,($pdf->h-$watermark_y)*$pdf->k,-$watermark_x*$pdf->k,-($pdf->h-$watermark_y)*$pdf->k));
//print watermark
$pdf->SetXY($watermark_x,$watermark_y);
$pdf->Cell($watermark_width,25,clean_html($conf->global->FICHINTER_DRAFT_WATERMARK),0,2,"C",0);
$pdf->Cell($watermark_width,25,$outputlangs->convToOutputCharset($conf->global->FICHINTER_DRAFT_WATERMARK),0,2,"C",0);
//antirotate
$pdf->_out('Q');
}