Nettoyage
This commit is contained in:
parent
1a4156232b
commit
63dc64d496
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user