summaryrefslogtreecommitdiffstats
path: root/frontends/php/screens.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/screens.php')
-rw-r--r--frontends/php/screens.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/screens.php b/frontends/php/screens.php
index 7b79d994..6bb349b4 100644
--- a/frontends/php/screens.php
+++ b/frontends/php/screens.php
@@ -78,7 +78,7 @@
$cmbScreens = new CComboBox("screenid",$_REQUEST["screenid"],"submit()");
$screen_correct = 0;
$first_screen = 0;
- $result=DBselect("select screenid,name from screens order by name");
+ $result=DBselect("select screenid,name from screens where mod(screenid,100)=$ZBX_CURNODEID order by name");
while($row=DBfetch($result))
{
if(!check_right("Screen","R",$row["screenid"]))