From cca5178cc771fab23905d1cc897a73a07314b3a4 Mon Sep 17 00:00:00 2001 From: "marcimat@rezo.net" <> Date: Mon, 23 Nov 2015 11:45:59 +0000 Subject: [PATCH] =?UTF-8?q?Notice=20en=20moins=20lorsque=20les=20m=C3=A9ta?= =?UTF-8?q?=20ne=20sont=20pas=20encore=20calcul=C3=A9es=20ou=20n'ont=20pas?= =?UTF-8?q?=20pu=20l'=C3=AAtre.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stats_pipelines.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats_pipelines.php b/stats_pipelines.php index 3068a9d..6dbc0dc 100644 --- a/stats_pipelines.php +++ b/stats_pipelines.php @@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * @return array **/ function stats_affichage_entetes_final($entetes){ - if ($GLOBALS['meta']["activer_statistiques"] != "non") { + if (isset($GLOBALS['meta']["activer_statistiques"]) and $GLOBALS['meta']["activer_statistiques"] != "non") { $html = preg_match(',^\s*text/html,', $entetes['Content-Type']); // decomptage des visites, on peut forcer a oui ou non avec le header X-Spip-Visites