Skip to content

Commit

Permalink
added utf8_decode
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsmith committed Mar 24, 2013
1 parent 75f669a commit 46637ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/invoice-to-pdf/upload/system/helper/pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function pdf($data, $name) {
$name = 'Order_'.$name[0]['order_id'];
}
$pdf = new DOMPDF;
$pdf->load_html($data);
$pdf->load_html(utf8_decode($data));
$pdf->render();
$pdf->stream($name.".pdf");
}
?>
?>

0 comments on commit 46637ce

Please sign in to comment.