FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:26:05 +02:00
parent 4ad7598eaf
commit 5be27cd2ca

View File

@ -33,7 +33,7 @@ $sortfield = GETPOST('sortfield', 'alphanohtml');
$sortorder = GETPOST('sortorder', 'aZ09');
// Security check
if (empty($conf->adherent->enabled)) {
if (!isModEnabled('adherent')) {
accessforbidden();
}
if (empty($user->rights->adherent->export)) {