Fix encoding issue in contact pdf
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 30 Sep 2007 13:27:31 +0000 (15:27 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 30 Sep 2007 13:27:31 +0000 (15:27 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/carnet/contacts.pdf.inc.php

index df02258..ceb6ca9 100644 (file)
@@ -195,7 +195,7 @@ class ContactsPDF extends FPDF
         if (!empty($a['tels'])) {
             foreach ($a['tels'] as $tel) {
                 if (!empty($tel['tel'])) {
-                    $this->TableRow($tel['tel_type'], $tel['tel'], 'Mono');
+                    $this->TableRow(utf8_decode($tel['tel_type']), $tel['tel'], 'Mono');
                 }
             }
         }