diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-07 10:29:24 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-07 10:29:24 +0000 |
commit | ea8f1f80969bf92722e29428a5a431b875eec53b (patch) | |
tree | ae5672c264e4df7acdee7202146c71603ce38429 /frontends/php/screens.php | |
parent | fdd60d239ebf94a0cb7f42ee7ca90273c0af108f (diff) | |
download | zabbix-ea8f1f80969bf92722e29428a5a431b875eec53b.tar.gz zabbix-ea8f1f80969bf92722e29428a5a431b875eec53b.tar.xz zabbix-ea8f1f80969bf92722e29428a5a431b875eec53b.zip |
- [DEV-90] fixed SQL for pgsql (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5220 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/screens.php')
-rw-r--r-- | frontends/php/screens.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/screens.php b/frontends/php/screens.php index 6aa41c9d..75f82973 100644 --- a/frontends/php/screens.php +++ b/frontends/php/screens.php @@ -175,8 +175,8 @@ include_once "include/page_header.php"; if($cmbElements->ItemsCount() > 0) $form->AddItem($cmbElements); - - if((2 != $_REQUEST["fullscreen"]) && (0 == $config) && (check_dynamic_items($elementid))){ + + if((2 != $_REQUEST["fullscreen"]) && (0 == $config) && (!empty($elementid)) && (check_dynamic_items($elementid))){ if(!isset($_REQUEST["hostid"])){ $_REQUEST["groupid"] = $_REQUEST["hostid"] = 0; } |