FIX php8 compatibility
This commit is contained in:
parent
4ad7598eaf
commit
5be27cd2ca
@ -33,7 +33,7 @@ $sortfield = GETPOST('sortfield', 'alphanohtml');
|
|||||||
$sortorder = GETPOST('sortorder', 'aZ09');
|
$sortorder = GETPOST('sortorder', 'aZ09');
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (empty($conf->adherent->enabled)) {
|
if (!isModEnabled('adherent')) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
if (empty($user->rights->adherent->export)) {
|
if (empty($user->rights->adherent->export)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user