Fix: la fonction a été déplacée dans functions.inc.php
This commit is contained in:
parent
86d88a9dc4
commit
77bc72348d
@ -288,18 +288,4 @@ Class pdf_expedition_rouget extends ModelePdfExpedition
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cette fonction est appelée pour coder ou non une chaine en html
|
|
||||||
// selon qu'on compte l'afficher dans le PDF avec:
|
|
||||||
// writeHTMLCell -> a besoin d'etre encodé en HTML
|
|
||||||
// MultiCell -> ne doit pas etre encodé en HTML
|
|
||||||
function _dol_htmlentities($stringtoencode,$isstringalreadyhtml)
|
|
||||||
{
|
|
||||||
global $conf;
|
|
||||||
|
|
||||||
if ($isstringalreadyhtml) return $stringtoencode;
|
|
||||||
if ($conf->fckeditor->enabled) return htmlentities($stringtoencode);
|
|
||||||
return $stringtoencode;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user