FIX scrutinizer
This commit is contained in:
parent
7c46ace042
commit
2d8494050f
@ -2033,8 +2033,8 @@ class Adherent extends CommonObject
|
|||||||
$label.= '<br><b>' . $langs->trans('Ref') . ':</b> ' . $this->ref;
|
$label.= '<br><b>' . $langs->trans('Ref') . ':</b> ' . $this->ref;
|
||||||
if (! empty($this->firstname) || ! empty($this->lastname))
|
if (! empty($this->firstname) || ! empty($this->lastname))
|
||||||
$label.= '<br><b>' . $langs->trans('Name') . ':</b> ' . $this->getFullName($langs);
|
$label.= '<br><b>' . $langs->trans('Name') . ':</b> ' . $this->getFullName($langs);
|
||||||
if (! empty($this->societe))
|
if (! empty($this->company))
|
||||||
$label.= '<br><b>' . $langs->trans('Company') . ':</b> ' . $this->societe;
|
$label.= '<br><b>' . $langs->trans('Company') . ':</b> ' . $this->company;
|
||||||
$label.='</div>';
|
$label.='</div>';
|
||||||
|
|
||||||
$url = DOL_URL_ROOT.'/adherents/card.php?rowid='.$this->id;
|
$url = DOL_URL_ROOT.'/adherents/card.php?rowid='.$this->id;
|
||||||
|
|||||||
@ -375,7 +375,7 @@ if ($resql)
|
|||||||
$staticmember->lastname=$obj->lastname;
|
$staticmember->lastname=$obj->lastname;
|
||||||
$staticmember->firstname=$obj->firstname;
|
$staticmember->firstname=$obj->firstname;
|
||||||
if (! empty($obj->fk_soc)) {
|
if (! empty($obj->fk_soc)) {
|
||||||
$staticmember->socid = $obj->fk_soc;
|
$staticmember->fk_soc = $obj->fk_soc;
|
||||||
$staticmember->fetch_thirdparty();
|
$staticmember->fetch_thirdparty();
|
||||||
$staticmember->name=$staticmember->thirdparty->name;
|
$staticmember->name=$staticmember->thirdparty->name;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user