forked from hans/Nominatim
use json_encode in search stuff as well
remove JSON_UNESCAPED_UNICODE, supported only by php >=5.3.3 and clients should be able to handle the escaping
This commit is contained in:
@@ -358,7 +358,7 @@ target="_blank">FAQ</a></td>
|
||||
echo ', '.$aResult['aBoundingBox'][1];
|
||||
echo ', '.$aResult['aBoundingBox'][2];
|
||||
echo ', '.$aResult['aBoundingBox'][3];
|
||||
if (isset($aResult['aPolyPoints'])) echo ', '.javascript_renderData($aResult['aPolyPoints']);
|
||||
if (isset($aResult['aPolyPoints'])) echo ', '.json_encode($aResult['aPolyPoints']);
|
||||
echo ');\'>';
|
||||
}
|
||||
elseif (isset($aResult['zoom']))
|
||||
|
||||
Reference in New Issue
Block a user