summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmaps.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/sysmaps.php')
-rw-r--r--frontends/php/sysmaps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/sysmaps.php b/frontends/php/sysmaps.php
index fbf3fb53..c7f54221 100644
--- a/frontends/php/sysmaps.php
+++ b/frontends/php/sysmaps.php
@@ -118,7 +118,7 @@
$table = new CTableInfo(S_NO_MAPS_DEFINED);
$table->setHeader(array(S_ID,S_NAME,S_WIDTH,S_HEIGHT,S_MAP));
- $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s order by s.name");
+ $result=DBselect("select sysmapid,name,width,height from sysmaps where mod(sysmapid,100)=$ZBX_CURNODEID order by name");
while($row=DBfetch($result))
{
if(!check_right("Network map","U",$row["sysmapid"]))