Fix dol_banner for agenda

This commit is contained in:
Laurent Destailleur 2017-03-10 16:19:18 +01:00
parent 8f338a155a
commit a9b39f3028

View File

@ -5745,7 +5745,13 @@ class Form
{
$ret.=dol_htmlentities($object->getFullName($langs));
}
else if (in_array($object->element, array('action', 'agenda')))
{
$ret.=$object->label;
}
else if ($fieldref != 'none') $ret.=dol_htmlentities($object->$fieldref);
if ($morehtmlref)
{
$ret.=' '.$morehtmlref;