Fix traveler array

This commit is contained in:
Markus Ankenbrand 2017-02-20 23:29:54 +01:00
parent c615a59e19
commit caceb4fd50

View file

@ -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)));
?>