From 5b5918f60ce28dc67f72701779cd18ac0284ceb4 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Mon, 18 May 2015 01:00:06 +0200 Subject: [PATCH] Update societe.class.php --- htdocs/societe/class/societe.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index b31419974c8..7a56868d76e 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1811,8 +1811,7 @@ class Societe extends CommonObject if ($withpicto) $result.=($link.img_object(($notooltip?'':$label), 'company', ($notooltip?'':'class="classfortooltip"')).$linkend); if ($withpicto && $withpicto != 2) $result.=' '; - $result.=$lien.($withpicto !=2?($maxlen?dol_trunc($name,$maxlen):$name):'').$lienfin; - + $result.=$link.($withpicto !=2?($maxlen?dol_trunc($name,$maxlen):$name):'').$linkend; return $result; }