From 7675b5473f4f9fe79fae87c477de17f45c15b40f Mon Sep 17 00:00:00 2001
From: Eric <eric@smellup.net>
Date: Sat, 27 Jun 2015 09:45:53 +0000
Subject: [PATCH] Eviter une notice PHP

---
 ecrire/inc/pipelines.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/pipelines.php b/ecrire/inc/pipelines.php
index 5c13d731a4..59c02805d2 100644
--- a/ecrire/inc/pipelines.php
+++ b/ecrire/inc/pipelines.php
@@ -236,7 +236,7 @@ function f_queue(&$texte){
 
 	// si rien a afficher
 	// ou si on est pas dans une page html, on ne sait rien faire de mieux
-	if (!$code OR !$GLOBALS['html'])
+	if (!$code OR !isset($GLOBALS['html']) OR !$GLOBALS['html'])
 		return $texte;
 
 	// inserer avant le </body> fermant si on peut, a la fin de la page sinon
-- 
GitLab