aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rwxr-xr-xweb/index.cgi2
-rw-r--r--web/js/map-OpenLayers.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index c4b1fd9c6..c2482e26b 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -345,7 +345,7 @@ sub submit_problem {
if ($no_details) {
$input{council} =~ s/\Q$no_details\E//;
- @input_councils = split /,/, $input{council};
+ @input_councils = split(/,/, $input{council});
}
# Check category here, won't be present if council is -1
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 1134bafb7..ed3ca4653 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -24,7 +24,7 @@ YAHOO.util.Event.onContentReady('map', function() {
new OpenLayers.Projection("EPSG:4326"),
fixmystreet.map.getProjectionObject()
);
- fixmystreet.map.setCenter(centre, 2);
+ fixmystreet.map.setCenter(centre, fixmystreet.zoom || 2);
}
if (document.getElementById('mapForm')) {