diff --git a/src/show_map.controller.php b/src/show_map.controller.php index df223d5..e2a4377 100644 --- a/src/show_map.controller.php +++ b/src/show_map.controller.php @@ -16,7 +16,9 @@ public function Execute() // the requested map $map = new Map(); - $map->Load($_GET["map"]); + //Solves https://github.com/matstroeng/doma/issues/28 + $map_id = $_GET["map"] ?: $_GET["amp;map"]; + $map->Load($map_id); if(!$map->ID) die("The map has been removed.");