diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-26 07:59:00 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-26 07:59:00 +0000 |
commit | dfbb4a4388893c8c86e2ca78ceb02091ac3ee499 (patch) | |
tree | d3e330d294525a3f714c4560c72119660ecc5d53 /frontends/php/screenconf.php | |
parent | 0524a8a2dfb101e926b5a092c32a3e7c4dbb2543 (diff) | |
download | zabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.tar.gz zabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.tar.xz zabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.zip |
- [DEV-137] fixed screen save problem (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5794 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/screenconf.php')
-rw-r--r-- | frontends/php/screenconf.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/screenconf.php b/frontends/php/screenconf.php index 989fe681..e7a22118 100644 --- a/frontends/php/screenconf.php +++ b/frontends/php/screenconf.php @@ -92,9 +92,9 @@ include_once "include/page_header.php"; show_messages($result, S_SCREEN_UPDATED, S_CANNOT_UPDATE_SCREEN); } else { - if(count(get_accessible_nodes_by_user($USER_DETAILS,PERM_READ_WRITE,PERM_RES_IDS_ARRAY))) + if(!count(get_accessible_nodes_by_user($USER_DETAILS,PERM_READ_WRITE,PERM_RES_IDS_ARRAY))) access_deny(); - + DBstart(); add_screen($_REQUEST["name"],$_REQUEST["hsize"],$_REQUEST["vsize"]); $result = DBend(); |