From 63dc64d496d5e9be99d44ec6d4cb63dfb60b3a83 Mon Sep 17 00:00:00 2001 From: Vincent Calame Date: Wed, 6 Mar 2019 01:49:37 +0100 Subject: [PATCH] Nettoyage --- mes_fonctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mes_fonctions.php b/mes_fonctions.php index 0b20c29..84aeec1 100644 --- a/mes_fonctions.php +++ b/mes_fonctions.php @@ -135,7 +135,7 @@ function mes_balise_Repartition2($tag) { if (array_key_exists("id_".$region_id, $evenementParRegionMap)) { $evenementParRegionMap["id_".$region_id][] = $evenement; } else { - $evenementParRegionMap["id_".$region_id] = array($evenement); + $evenementParRegionMap["id_".$region_id] = array($evenement); } } $url_regions = "http://www.agendadulibre.org/regions.json"; @@ -159,7 +159,7 @@ function mes_balise_Repartition2($tag) { $sousregion["evenements"] = $evenementParRegionArray; $total_pays += $total_region; $total += $total_region; - $pays["sousregions"][] = $sousregion; + $pays["sousregions"][] = $sousregion; } }