summaryrefslogtreecommitdiffstats
path: root/frontends/php/map.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/map.php')
-rw-r--r--frontends/php/map.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php
index 079aa4db..5c76ef23 100644
--- a/frontends/php/map.php
+++ b/frontends/php/map.php
@@ -59,7 +59,11 @@
# ImageFilledRectangle($im,0,0,$width,$height,$black);
ImageFilledRectangle($im,0,0,$width,$height,$white);
- ImageRectangle($im,0,0,$width-1,$height-1,$black);
+
+ if(!isset($HTTP_GET_VARS["sysmapid"]))
+ {
+ ImageRectangle($im,0,0,$width-1,$height-1,$black);
+ }
if(!check_right("Network map","R",$HTTP_GET_VARS["sysmapid"]))
{