FIX php8 compatibility
This commit is contained in:
parent
9ef2668263
commit
1f359c3b1e
@ -179,7 +179,7 @@ abstract class ActionsAdherentCardCommon
|
|||||||
|
|
||||||
if ($action == 'view' || $action == 'edit' || $action == 'delete') {
|
if ($action == 'view' || $action == 'edit' || $action == 'delete') {
|
||||||
// Emailing
|
// Emailing
|
||||||
if (!empty($conf->mailing->enabled)) {
|
if (isModEnabled('mailing')) {
|
||||||
$langs->load("mails");
|
$langs->load("mails");
|
||||||
$this->tpl['nb_emailing'] = $this->object->getNbOfEMailings();
|
$this->tpl['nb_emailing'] = $this->object->getNbOfEMailings();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user