From d3a4ad16da222f53a309c61a198967abe320293b Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 23 Aug 2022 09:54:38 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/adherents/partnership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/partnership.php b/htdocs/adherents/partnership.php index bc21d4b6333..805a3137226 100644 --- a/htdocs/adherents/partnership.php +++ b/htdocs/adherents/partnership.php @@ -151,7 +151,7 @@ if ($id > 0) { $object = new Adherent($db); $result = $object->fetch($id); - if (!empty($conf->notification->enabled)) { + if (isModEnabled('notification')) { $langs->load("mails"); }