From 5f45511bb9772960f0a7cc0d2f35a8a5ffca176c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=AFeul=20Rouquette?= Date: Fri, 7 Jan 2022 21:34:11 +0100 Subject: [PATCH] =?UTF-8?q?warning=20PHP=20+=20code=20pr=C3=A9sentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alerte_urgence_pipelines.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/alerte_urgence_pipelines.php b/alerte_urgence_pipelines.php index 5229a5d..b926944 100644 --- a/alerte_urgence_pipelines.php +++ b/alerte_urgence_pipelines.php @@ -41,9 +41,7 @@ function alerte_urgence_affichage_final($flux) { // Si c'est l'insertion, on remplace if ($insertion !== false) { $flux = str_replace('', $alerte, $flux); - } - // Sinon on la met au début du body - elseif (!$config['desactiver_placement_auto']) { + } elseif (!isset($config['desactiver_placement_auto'])) {// Sinon on la met au début du body $flux = preg_replace( '|]*>|is', '$0'.$alerte,