Fixing style errors.

This commit is contained in:
stickler-ci 2021-04-19 13:23:36 +00:00
parent 263e110ca3
commit 6f32b2edda
2 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@ if (empty($reshook)) {
foreach ($toselect as $idtoclose) {
$tmpmember->fetch($idtoclose);
if(!empty($tmpmember->fk_soc)){
if (!empty($tmpmember->fk_soc)) {
$nuser = new User($db);
$tmpuser = dol_clone($tmpmember);

View File

@ -625,11 +625,11 @@ if ($ispaymentok) {
$substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object);
// Create external user
if(!empty($conf->global->ADHERENT_CREATE_EXTERNAL_USER_LOGIN)){
if (!empty($conf->global->ADHERENT_CREATE_EXTERNAL_USER_LOGIN)) {
$infouserlogin = '';
$nuser = new User($db);
$tmpuser = dol_clone($object);
$result = $nuser->create_from_member($tmpuser, $object->login);
$newpassword = $nuser->setPassword($user, '');