Fix dol_banner for agenda
This commit is contained in:
parent
8f338a155a
commit
a9b39f3028
@ -5745,7 +5745,13 @@ class Form
|
|||||||
{
|
{
|
||||||
$ret.=dol_htmlentities($object->getFullName($langs));
|
$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);
|
else if ($fieldref != 'none') $ret.=dol_htmlentities($object->$fieldref);
|
||||||
|
|
||||||
|
|
||||||
if ($morehtmlref)
|
if ($morehtmlref)
|
||||||
{
|
{
|
||||||
$ret.=' '.$morehtmlref;
|
$ret.=' '.$morehtmlref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user