summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 08:24:56 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 08:24:56 +0000
commite8ee3b3e016176ac49a8361a20a41ed2a23d8e88 (patch)
tree958b0de20a6a12598e4c943a3616e418c03e38a5 /frontends/php
parentd08f774dbdc1ec11793acf0ce395b942ca1e56eb (diff)
downloadzabbix-e8ee3b3e016176ac49a8361a20a41ed2a23d8e88.tar.gz
zabbix-e8ee3b3e016176ac49a8361a20a41ed2a23d8e88.tar.xz
zabbix-e8ee3b3e016176ac49a8361a20a41ed2a23d8e88.zip
- [DEV-137] fixes in profiles (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5796 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/include/profiles.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/profiles.inc.php b/frontends/php/include/profiles.inc.php
index 465a7f0b..66b6f762 100644
--- a/frontends/php/include/profiles.inc.php
+++ b/frontends/php/include/profiles.inc.php
@@ -297,7 +297,7 @@ function profile_value_by_type(&$value,$type){
case PROFILE_TYPE_ID:
case PROFILE_TYPE_INT:
if(zbx_numeric($value['value'])){
- $result['value'] = intval($value['value']);
+ $result['value'] = $value['value'];
}
else{
$result = false;