diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 6ae030258a4..61c2225d9b9 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -182,7 +182,7 @@ if ( $db->query($sql) ) { $cont = new Contact($db); $cont->fetch($obj->fk_contact); - print ''.$cont->fullname.''; + print ''.$cont->fullname.''; } else { diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 6c50bd3f95e..3d6b3024c0d 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -556,10 +556,11 @@ if ($_socid > 0) if ($obj->fk_contact) { $contact = new Contact($db); $contact->fetch($obj->fk_contact); - print ''.$contact->fullname.''; + print ''.$contact->fullname.''; } else { print ' '; } + /* */ print ''.$obj->code.''; @@ -647,7 +648,7 @@ if ($_socid > 0) { $contact = new Contact($db); $contact->fetch($obj->fk_contact); - print ''.$contact->fullname.''; + print ''.$contact->fullname.''; } else { diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index fcbbdb79afc..304bc17f078 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -367,8 +367,7 @@ if ($socid > 0) { $contact = new Contact($db); $contact->fetch($obj->fk_contact); - // print ''.$contact->fullname.''; - print ''.$contact->fullname.''; + print ''.$contact->fullname.''; } else { diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 58438ff5f0d..67e671a8176 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -495,7 +495,7 @@ if ($socid > 0) if ($obj->fk_contact) { $contact = new Contact($db); $contact->fetch($obj->fk_contact); - print ''.$contact->fullname.''; + print ''.$contact->fullname.''; } else { print ' '; }