Nettoyage

This commit is contained in:
Vincent Calame 2019-03-06 01:49:37 +01:00 committed by root
parent 1a4156232b
commit 63dc64d496

View File

@ -135,7 +135,7 @@ function mes_balise_Repartition2($tag) {
if (array_key_exists("id_".$region_id, $evenementParRegionMap)) { if (array_key_exists("id_".$region_id, $evenementParRegionMap)) {
$evenementParRegionMap["id_".$region_id][] = $evenement; $evenementParRegionMap["id_".$region_id][] = $evenement;
} else { } else {
$evenementParRegionMap["id_".$region_id] = array($evenement); $evenementParRegionMap["id_".$region_id] = array($evenement);
} }
} }
$url_regions = "http://www.agendadulibre.org/regions.json"; $url_regions = "http://www.agendadulibre.org/regions.json";
@ -159,7 +159,7 @@ function mes_balise_Repartition2($tag) {
$sousregion["evenements"] = $evenementParRegionArray; $sousregion["evenements"] = $evenementParRegionArray;
$total_pays += $total_region; $total_pays += $total_region;
$total += $total_region; $total += $total_region;
$pays["sousregions"][] = $sousregion; $pays["sousregions"][] = $sousregion;
} }
} }