From 484e5c833f9b5cf046544b57221f03f11144a61e Mon Sep 17 00:00:00 2001 From: tofulm Date: Thu, 19 Sep 2024 22:44:58 +0200 Subject: [PATCH] fix: tentative de fix que $texte n'existe pas --- inc/envoyer_gamumail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/envoyer_gamumail.php b/inc/envoyer_gamumail.php index ff04765..34e9ffd 100644 --- a/inc/envoyer_gamumail.php +++ b/inc/envoyer_gamumail.php @@ -61,7 +61,7 @@ function inc_envoyer_gamumail($slug, $destinataires, $options = [], $Tid_doc_pie if (array_key_exists('sujet', $options)) { $sujet = $options['sujet']; } else { - $sujet = array_shift($texte); + $sujet = array_shift($html); } } else { // contenus du slug