Fix typo decode->encode
This commit is contained in:
parent
21515e4efb
commit
4e070cb269
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@
|
|||
<div class="post-meta">
|
||||
<div class='map' style='height:300px; margin-bottom: 1.6842em' id='map-<?php echo $id ?>-multiple'></div>
|
||||
<script type='text/javascript'>
|
||||
var places = <?php echo json_decode($location); ?>;
|
||||
var places = <?php echo json_encode($location); ?>;
|
||||
var map;
|
||||
var map_center = {lat: places[0]['lat'], lng: places[0]['lng'] };
|
||||
function initMap() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue