From 04130f0e9141849df691b49eaa07d5c648cb5ce6 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 16 Aug 2022 17:24:32 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/adherents/agenda.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php index 5aeb3a281cf..204ba1b8f20 100644 --- a/htdocs/adherents/agenda.php +++ b/htdocs/adherents/agenda.php @@ -130,7 +130,7 @@ if ($object->id > 0) { llxHeader("", $title, $help_url); - if (!empty($conf->notification->enabled)) { + if (isModEnabled('notification')) { $langs->load("mails"); } $head = member_prepare_head($object);