From c3174e45519d3d14bedda56cb545d62c6c302d5d Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Fri, 15 Jul 2016 11:54:37 +0200 Subject: [PATCH] Update societe.class.php --- htdocs/societe/class/societe.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index ecd75166d7e..db70b958001 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1810,7 +1810,7 @@ class Societe extends CommonObject */ function getNomUrl($withpicto=0, $option='', $maxlen=0, $notooltip=0) { - global $conf,$langs; + global $conf,$langs, $hookmanager; $name=$this->name?$this->name:$this->nom; @@ -1898,6 +1898,7 @@ class Societe extends CommonObject // Add type of canvas $link.=(!empty($this->canvas)?'&canvas='.$this->canvas:'').'"'; + $linkclose=''; if (empty($notooltip)) { if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))