From a76d5f8a1d936bda0f59f44021fac2c1455cce23 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Mon, 11 Nov 2013 16:29:35 +0100 Subject: [PATCH] Fix getNomURL societe --- htdocs/societe/class/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index e79242d35a9..effc67b004d 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1438,7 +1438,7 @@ class Societe extends CommonObject $name=$this->name?$this->name:$this->nom; - if ($conf->global->SOCIETE_ADD_REF_IN_LIST) { + if ($conf->global->SOCIETE_ADD_REF_IN_LIST && empty($option)) { if (($this->client) && (! empty ( $this->code_client ))) { $code = $this->code_client . ' - '; }