diff --git a/plug/map_prof.zip b/plug/map_prof.zip index 339b262..64ebbfa 100644 Binary files a/plug/map_prof.zip and b/plug/map_prof.zip differ diff --git a/srcs/plugins/map_prof/map_prof_hooks.php b/srcs/plugins/map_prof/map_prof_hooks.php index ad99a6a..e023bf9 100644 --- a/srcs/plugins/map_prof/map_prof_hooks.php +++ b/srcs/plugins/map_prof/map_prof_hooks.php @@ -59,14 +59,14 @@ function mp_ljdp_map() { $events = mp_get_published_events(); // mp_get_events.php //mp_console_log("events: "); //mp_console_log($events); - foreach ($events as $event) { - if (gettype($event->categorie) === "array") { - mp_console_log($event->categorie); - } - if (str_starts_with($event->categorie, '["')) { - mp_console_log($event->categorie); - } - } + //foreach ($events as $event) { + // if (gettype($event->categorie) === "array") { + // mp_console_log($event->categorie); + // } + // if (str_starts_with($event->categorie, '["')) { + // mp_console_log($event->categorie); + // } + //} $locations = mp_sort_events($events); // mp_get_locations.php //mp_console_log("locations: ");