diff --git a/page-pins.php b/page-pins.php index 2965821..b0916e1 100644 --- a/page-pins.php +++ b/page-pins.php @@ -78,7 +78,7 @@ } } endwhile; - wp_localize_script('page_pins_map', 'page_pins_map', array('places' => $locations, 'traveler' => $traveler)); + wp_localize_script('page_pins_map', 'page_pins_map', array('places' => $locations, 'traveler' => array_values($traveler))); ?>