forked from Wavyzz/dolibarr
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -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 -->';
|
||||||
|
|||||||
Reference in New Issue
Block a user