Merge pull request #21643 from ptibogxiv/patch-30

Fix correct fix of paymentok.php
This commit is contained in:
Laurent Destailleur 2022-08-03 17:00:46 +02:00 committed by GitHub
commit 01b1cab84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,6 +368,7 @@ if ($ispaymentok) {
}
if (empty($user->rights->adherent)) {
$user->rights->adherent = new stdClass();
$user->rights->adherent->cotisation = new stdClass();
}
$user->rights->societe->creer = 1;
$user->rights->facture->creer = 1;