Fixing style errors.
This commit is contained in:
parent
263e110ca3
commit
6f32b2edda
@ -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);
|
||||
|
||||
|
||||
@ -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, '');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user