Update html.form.class.php
By example, avoid to have html code in customer name
This commit is contained in:
parent
b31bf68376
commit
36c5b2d69c
@ -4093,7 +4093,7 @@ class Form
|
|||||||
$ret.='<table class="nobordernopadding" width="100%"><tr class="nobordernopadding"><td class="nobordernopadding">';
|
$ret.='<table class="nobordernopadding" width="100%"><tr class="nobordernopadding"><td class="nobordernopadding">';
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret.=$object->$fieldref;
|
$ret.=dol_htmlentities($object->$fieldref);
|
||||||
if ($morehtmlref)
|
if ($morehtmlref)
|
||||||
{
|
{
|
||||||
$ret.=' '.$morehtmlref;
|
$ret.=' '.$morehtmlref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user