diff options
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(); |