2
0
forked from Wavyzz/dolibarr

Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur
2020-01-28 17:24:33 +01:00

View File

@@ -7297,13 +7297,22 @@ class Form
{ {
$ret .= ''; $ret .= '';
} }
elseif ($fieldref != 'none') $ret .= dol_htmlentities($object->$fieldref); elseif ($fieldref != 'none')
{
$ret.=dol_htmlentities($object->$fieldref);
}
if ($morehtmlref) if ($morehtmlref)
{ {
$ret .= ' '.$morehtmlref; // don't add a additional space, when "$morehtmlref" starts with a HTML div tag
if(substr($morehtmlref, 0, 4) != '<div')
{
$ret.=' ';
} }
$ret.=$morehtmlref;
}
$ret.='</div>'; $ret.='</div>';
$ret .= '</div><!-- End banner content -->'; $ret .= '</div><!-- End banner content -->';