FIX php8 compatibility
This commit is contained in:
parent
c264308329
commit
5bbee11c42
@ -142,7 +142,7 @@ $permissiontodelete = $user->admin;
|
||||
if (!$user->admin) {
|
||||
accessforbidden();
|
||||
}
|
||||
if (empty($conf->emailcollector->enabled)) {
|
||||
if (!isModEnabled('emailcollector')) {
|
||||
accessforbidden('Module not enabled');
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user