diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php
index cee9ce36edd..8ddb15d9872 100644
--- a/htdocs/adherents/class/adherent.class.php
+++ b/htdocs/adherents/class/adherent.class.php
@@ -2033,8 +2033,8 @@ class Adherent extends CommonObject
$label.= '
' . $langs->trans('Ref') . ': ' . $this->ref;
if (! empty($this->firstname) || ! empty($this->lastname))
$label.= '
' . $langs->trans('Name') . ': ' . $this->getFullName($langs);
- if (! empty($this->societe))
- $label.= '
' . $langs->trans('Company') . ': ' . $this->societe;
+ if (! empty($this->company))
+ $label.= '
' . $langs->trans('Company') . ': ' . $this->company;
$label.='';
$url = DOL_URL_ROOT.'/adherents/card.php?rowid='.$this->id;
diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php
index beb8d44cdc3..3d1883eda0a 100644
--- a/htdocs/adherents/index.php
+++ b/htdocs/adherents/index.php
@@ -375,7 +375,7 @@ if ($resql)
$staticmember->lastname=$obj->lastname;
$staticmember->firstname=$obj->firstname;
if (! empty($obj->fk_soc)) {
- $staticmember->socid = $obj->fk_soc;
+ $staticmember->fk_soc = $obj->fk_soc;
$staticmember->fetch_thirdparty();
$staticmember->name=$staticmember->thirdparty->name;
} else {