fix : withpicto = 2 send only icon
This commit is contained in:
parent
e86e46c682
commit
3b02bf1424
@ -1811,7 +1811,8 @@ class Societe extends CommonObject
|
||||
|
||||
if ($withpicto) $result.=($link.img_object(($notooltip?'':$label), 'company', ($notooltip?'':'class="classfortooltip"')).$linkend);
|
||||
if ($withpicto && $withpicto != 2) $result.=' ';
|
||||
$result.=$link.($maxlen?dol_trunc($name,$maxlen):$name).$linkend;
|
||||
$result.=$lien.($withpicto !=2?($maxlen?dol_trunc($name,$maxlen):$name):'').$lienfin;
|
||||
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user