1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Bugtracker #4094 - missing global

This commit is contained in:
e107steved
2007-09-26 19:10:59 +00:00
parent 89358b2c77
commit 52abb43185

View File

@@ -228,8 +228,9 @@ class e107PDF extends UFPDF{
return $tbl_couleur;
}
function WriteHTML($html,$scale){
global $tp;
function WriteHTML($html,$scale)
{
global $tp, $pdfpref;
global $admin_log;
$search = array("\n", "<br />", "<hr />", '&raquo;', '&ordm;', '&middot', '&trade;', '&copy;', '&euro;', '&#091;', '&amp;#091;', '&nbsp;', '‘', '’', ' />', '&#40;', '&#41;', '&#123;', '&#125;', '&#91;', '&#93;', '&#092;', '&#92;');