Update html.form.class.php

By example, avoid to have html code in customer name
This commit is contained in:
frederic34 2014-07-28 14:04:55 +02:00
parent b31bf68376
commit 36c5b2d69c

View File

@ -4093,7 +4093,7 @@ class Form
$ret.='<table class="nobordernopadding" width="100%"><tr class="nobordernopadding"><td class="nobordernopadding">';
}
$ret.=$object->$fieldref;
$ret.=dol_htmlentities($object->$fieldref);
if ($morehtmlref)
{
$ret.=' '.$morehtmlref;