summaryrefslogtreecommitdiffstats
path: root/frontends/php/maps.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/maps.php')
-rw-r--r--frontends/php/maps.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php
index 88bc1a3a..826ed424 100644
--- a/frontends/php/maps.php
+++ b/frontends/php/maps.php
@@ -46,6 +46,7 @@
);
check_fields($fields);
+
?>
<?php
@@ -61,6 +62,7 @@
$_REQUEST["sysmapid"]=@iif(isset($_REQUEST["sysmapid"]),$_REQUEST["sysmapid"],get_profile("web.maps.sysmapid",0));
update_profile("web.maps.sysmapid",$_REQUEST["sysmapid"]);
update_profile("web.menu.view.last",$page["file"]);
+ if($_REQUEST["sysmapid"] == 0) unset($_REQUEST["sysmapid"]);
?>
<?php