set errors from object

This commit is contained in:
Frédéric FRANCE 2023-02-24 17:01:00 +01:00
parent 652a215a07
commit b6089882af

View File

@ -1789,13 +1789,11 @@ class Adherent extends CommonObject
}
} else {
$error++;
$this->error = $acct->error;
$this->errors = $acct->errors;
$this->setErrorsFromObject($acct);
}
} else {
$error++;
$this->error = $acct->error;
$this->errors = $acct->errors;
$this->setErrorsFromObject($acct);
}
}