summaryrefslogtreecommitdiff
path: root/map_prepare.php
diff options
context:
space:
mode:
Diffstat (limited to 'map_prepare.php')
-rwxr-xr-xmap_prepare.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/map_prepare.php b/map_prepare.php
index b4d2ea7..511dc26 100755
--- a/map_prepare.php
+++ b/map_prepare.php
@@ -16,6 +16,7 @@
<?php echo "STARTPOS=new G.LatLng(".$startlat.",".$startlng.");\n";?>
// Pass any POST variables to Javascript, which are then used in maps-extra.js
var search_posted = '<?php echo (isset($_GET['q']) ? str_replace("'", "\'", htmlspecialchars($_GET['q'])) : ''); // DS added htmlspecialchars 2013 May 8 and single quote escaping 2013 May 9 ?>';
+ var building_posted = '<?php echo (isset($_GET['b']) ? str_replace("'", "\'", htmlspecialchars($_GET['b'])) : ''); ?>';
var quicklinks_posted = '<?php //echo $quicklinks_posted; ?>';
var submit_the_query_form = false;
</script> \ No newline at end of file