From 4ad7598eafcd4616b91b2fbae46b0dc30076f220 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 16 Aug 2022 17:25:07 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/adherents/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php index 3dcab7a9c4c..c8282179fe5 100644 --- a/htdocs/adherents/document.php +++ b/htdocs/adherents/document.php @@ -128,7 +128,7 @@ if ($id > 0) { $totalsize += $file['size']; } - if (!empty($conf->notification->enabled)) { + if (isModEnabled('notification')) { $langs->load("mails"); }