Fix dol_banner for agenda

This commit is contained in:
Laurent Destailleur 2017-03-10 16:19:18 +01:00
parent c72e7c1057
commit 57c2971175

View File

@ -5851,7 +5851,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;