From c36f7e55683719be8dda7d312f4b042911a2f3a1 Mon Sep 17 00:00:00 2001
From: RealET <real3t@gmail.com>
Date: Thu, 3 Mar 2022 15:30:27 +0100
Subject: [PATCH] =?UTF-8?q?Des=20warning=20en=20moins=20=C3=A0=20l'install?=
 =?UTF-8?q?ation?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 soyezcreateurs_options.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/soyezcreateurs_options.php b/soyezcreateurs_options.php
index 69e5e819..710279e3 100644
--- a/soyezcreateurs_options.php
+++ b/soyezcreateurs_options.php
@@ -84,10 +84,10 @@ $GLOBALS['marqueur'] = (isset($GLOBALS['marqueur'])?$GLOBALS['marqueur']:'').':s
 	(isset($GLOBALS['meta']['btv2'])?$GLOBALS['meta']['btv2']:'').
 	(isset($GLOBALS['meta']['bte'])?$GLOBALS['meta']['bte']:'').
 	(isset($_COOKIE['spip_lang'])?$_COOKIE['spip_lang']:'').
-	$GLOBALS['meta']['nom_site'].
-	$GLOBALS['meta']['slogan_site'].
-	$GLOBALS['meta']['descriptif_site'].
-	$GLOBALS['meta']['email_webmaster']
+	(isset($GLOBALS['meta']['nom_site'])?$GLOBALS['meta']['nom_site']:'').
+	(isset($GLOBALS['meta']['slogan_site'])?$GLOBALS['meta']['slogan_site']:'').
+	(isset($GLOBALS['meta']['descriptif_site'])?$GLOBALS['meta']['descriptif_site']:'').
+	(isset($GLOBALS['meta']['email_webmaster'])?$GLOBALS['meta']['email_webmaster']:'')
 ); // Sur un conseil de Cedric : http://permalink.gmane.org/gmane.comp.web.spip.zone/6258
 if (!defined('_TRI_GROUPES_MOTS'))
 	define('_TRI_GROUPES_MOTS', '0+titre,titre');  // cf http://trac.rezo.net/trac/spip/changeset/14712
-- 
GitLab