diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-06-27 07:29:32 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-06-27 07:29:32 +0000 |
commit | a840c40a485076ed3b5f43e79ddb4bec59afb862 (patch) | |
tree | b44fd2b467200f0ea3f72329a5650a0d83a4f095 /frontends/php/history.php | |
parent | e2a49f81092e445f549e3cac4c0d57a2b14df7fb (diff) | |
download | zabbix-a840c40a485076ed3b5f43e79ddb4bec59afb862.tar.gz zabbix-a840c40a485076ed3b5f43e79ddb4bec59afb862.tar.xz zabbix-a840c40a485076ed3b5f43e79ddb4bec59afb862.zip |
- changed type of lastlogsize to long in structure METRIC (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2980 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r-- | frontends/php/history.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php index a42ac1b1..db46a737 100644 --- a/frontends/php/history.php +++ b/frontends/php/history.php @@ -484,7 +484,8 @@ COpt::profiling_start("history"); $row["value"] = ""; } - $value = replace_value_by_map($row["value"], $row["valuemapid"]); + if($row["valuemapid"] > 0) + $value = replace_value_by_map($row["value"], $row["valuemapid"]); $new_row = array(date("Y.M.d H:i:s",$row["clock"])); if(in_array($item_type,array(ITEM_VALUE_TYPE_FLOAT,ITEM_VALUE_TYPE_UINT64))) |