Fix var not defined
This commit is contained in:
parent
40d04482b0
commit
9efea6e30e
@ -1429,8 +1429,8 @@ class Adherent extends CommonObject
|
|||||||
$result=$customer->create_from_member($this, $companyname, $companyalias);
|
$result=$customer->create_from_member($this, $companyname, $companyalias);
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
$this->error = $company->error;
|
$this->error = $customer->error;
|
||||||
$this->errors = $company->errors;
|
$this->errors = $customer->errors;
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user