summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/maps.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-16 14:28:28 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-16 14:28:28 +0000
commit819114c84816786fa5bd16c933e0ea8d6d09f9d9 (patch)
tree6f5188b3404ffafd72c5aaee61386c285f692771 /frontends/php/include/maps.inc.php
parent32e5c61ed67fadf2cf7670a1f5bfa55bf4831c9c (diff)
downloadzabbix-819114c84816786fa5bd16c933e0ea8d6d09f9d9.tar.gz
zabbix-819114c84816786fa5bd16c933e0ea8d6d09f9d9.tar.xz
zabbix-819114c84816786fa5bd16c933e0ea8d6d09f9d9.zip
- [ZBX-253] fixes problem in frontend with long int values (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5259 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/maps.inc.php')
-rw-r--r--frontends/php/include/maps.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php
index a3db20bb..dc1874e4 100644
--- a/frontends/php/include/maps.inc.php
+++ b/frontends/php/include/maps.inc.php
@@ -95,7 +95,7 @@
switch($se_data['elementtype'])
{
case SYSMAP_ELEMENT_TYPE_HOST:
- if(in_array($se_data['elementid'],explode(',',$denyed_hosts)))
+ if(uint_in_array($se_data['elementid'],explode(',',$denyed_hosts)))
{
$result = false;
}
@@ -115,7 +115,7 @@
break;
case SYSMAP_ELEMENT_TYPE_HOST_GROUP:
if( DBfetch(DBselect('select groupid from groups where groupid='.$se_data['elementid'])) &&
- in_array($se_data['elementid'],
+ uint_in_array($se_data['elementid'],
get_accessible_groups_by_user($USER_DETAILS,PERM_READ_ONLY, PERM_MODE_LT, PERM_RES_IDS_ARRAY)))
{
$result = false;