summaryrefslogtreecommitdiffstats
path: root/frontends/php/screenconf.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/screenconf.php')
-rw-r--r--frontends/php/screenconf.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/screenconf.php b/frontends/php/screenconf.php
index 95a4b77f..e7290736 100644
--- a/frontends/php/screenconf.php
+++ b/frontends/php/screenconf.php
@@ -80,7 +80,8 @@
$table = new CTableInfo(S_NO_SCREENS_DEFINED);
$table->setHeader(array(S_ID,S_NAME,S_DIMENSION_COLS_ROWS,S_SCREEN));
- $result=DBselect("select screenid,name,hsize,vsize from screens order by name");
+ $result=DBselect("select screenid,name,hsize,vsize from screens where mod(screenid,100)=$ZBX_CURNODEID".
+ " order by name");
while($row=DBfetch($result))
{
if(!check_right("Screen","R",$row["screenid"])) continue;