diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index fa465b15098..18deed9bbb8 100644
--- a/htdocs/societe/class/societe.class.php
+++ b/htdocs/societe/class/societe.class.php
@@ -1296,25 +1296,25 @@ class Societe extends CommonObject
{
if ($this->client == 1)
{
- $lien = '';
- $lienfin='';
+ $lien = 'id.'">';
- $lienfin='';
+ $lien = 'id.'">';
- $lienfin='';
+ $lien = 'id.'">';
- $lienfin='';
+ $lien = '';
+ $lienfin='';
if ($withpicto) $result.=($lien.img_object($langs->trans("ShowCompany").': '.$this->nom,'company').$lienfin.' ');
$result.=$lien.($maxlen?dol_trunc($this->nom,$maxlen):$this->nom).$lienfin;