summaryrefslogtreecommitdiffstats
path: root/frontends/php/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/config.php')
-rw-r--r--frontends/php/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php
index 64678471..d4705340 100644
--- a/frontends/php/config.php
+++ b/frontends/php/config.php
@@ -158,7 +158,7 @@ include_once "include/page_header.php";
add_audit(AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_ZABBIX_CONFIG,implode('; ',$msg));
}
}
- elseif(isset($_REQUEST["save"])&&in_array($_REQUEST["config"],array(0,5,7)))
+ elseif(isset($_REQUEST["save"])&&uint_in_array($_REQUEST["config"],array(0,5,7)))
{
if(count(get_accessible_nodes_by_user($USER_DETAILS,PERM_READ_WRITE,PERM_MODE_LT,PERM_RES_IDS_ARRAY,get_current_nodeid())))