Debug v18

This commit is contained in:
Laurent Destailleur
2023-04-18 14:47:02 +02:00
parent 8e51bf2c55
commit 7cf21e6ee6
4 changed files with 21 additions and 9 deletions

View File

@@ -1257,13 +1257,15 @@ class Reception extends CommonObject
$linkstart .= $linkclose.'>';
$linkend = '</a>';
$result .= $linkstart;
if ($withpicto) {
$result .= ($linkstart.img_object(($notooltip ? '' : $label), $this->picto, ($notooltip ? '' : 'class="classfortooltip"'), 0, 0, $notooltip ? 0 : 1).$linkend);
$result .= img_object(($notooltip ? '' : $label), $this->picto, '', 0, 0, $notooltip ? 0 : 1);
}
if ($withpicto && $withpicto != 2) {
$result .= ' ';
if ($withpicto != 2) {
$result .= $this->ref;
}
$result .= $linkstart.$this->ref.$linkend;
$result .= $linkend;
global $action;
$hookmanager->initHooks(array($this->element . 'dao'));