aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-09-27 19:48:09 +0200
committerCamil Staps2015-09-27 19:48:09 +0200
commitb4b24f74f196718c00469a6a40799132b55c6613 (patch)
treee71d60811df034762018276efae40798a7fd9f52
parentShow price incl. and excl. VAT in 'Currently active offers' on the dashboard (diff)
encoding issue
-rw-r--r--classes/offer.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/offer.class.php b/classes/offer.class.php
index ac4549f..1b80ce0 100644
--- a/classes/offer.class.php
+++ b/classes/offer.class.php
@@ -527,7 +527,7 @@ class offer {
foreach ($list as $row) {
$x = $pdf->getX();
$y = $pdf->getY();
- $pdf->MultiCell($width[0],6,$row[0],0,'L');
+ $pdf->MultiCell($width[0],6,iconv('utf-8', 'iso-8859-1', $row[0]),0,'L');
$newy = $pdf->getY();
$pdf->SetXY($x + $width[0], $y);
$pdf->Cell($width[1],6,correspondence::valuta().number_format($row[1],2),'',0,'R');
@@ -626,4 +626,4 @@ class offer {
return $file;
}
-} \ No newline at end of file
+}