diff --git a/application/controllers/Activated_gridmap.php b/application/controllers/Activated_gridmap.php index a15ec91e..46cf2d5c 100644 --- a/application/controllers/Activated_gridmap.php +++ b/application/controllers/Activated_gridmap.php @@ -13,6 +13,7 @@ class Activated_gridmap extends CI_Controller { $this->load->model('activated_gridmap_model'); $this->load->model('stations'); + $data['visitor'] = false; $data['homegrid'] = explode(',', $this->stations->find_gridsquare()); $data['modes'] = $this->activated_gridmap_model->get_worked_modes(); diff --git a/application/controllers/Visitor.php b/application/controllers/Visitor.php index 328b96d2..0b72c091 100644 --- a/application/controllers/Visitor.php +++ b/application/controllers/Visitor.php @@ -439,7 +439,6 @@ class Visitor extends CI_Controller { $data['grid_4char'] = js_array($array_grid_4char); $data['grid_6char'] = js_array($array_grid_6char); - $data['homegrid'] = 'JO31OL'; $data['layer'] = $this->optionslib->get_option('option_map_tile_server'); $data['attribution'] = $this->optionslib->get_option('option_map_tile_server_copyright'); diff --git a/application/views/activated_gridmap/index.php b/application/views/activated_gridmap/index.php index 5d60ec60..283690df 100644 --- a/application/views/activated_gridmap/index.php +++ b/application/views/activated_gridmap/index.php @@ -124,19 +124,25 @@