Fix getNomURL societe

This commit is contained in:
Florian Henry 2013-11-11 16:29:35 +01:00
parent d04f5c3148
commit a76d5f8a1d

View File

@ -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 . ' - ';
}