Fix getNomURL societe
This commit is contained in:
parent
d04f5c3148
commit
a76d5f8a1d
@ -1438,7 +1438,7 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
$name=$this->name?$this->name:$this->nom;
|
$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 ))) {
|
if (($this->client) && (! empty ( $this->code_client ))) {
|
||||||
$code = $this->code_client . ' - ';
|
$code = $this->code_client . ' - ';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user