summaryrefslogtreecommitdiffstats
path: root/frontends/php/history.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-06 08:07:15 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-06 08:07:15 +0000
commit176fe90c3ce7c97d99e197021cf1d5113a58a83f (patch)
tree6aa06a77192c41a1fa6ede2d005348a895fec695 /frontends/php/history.php
parentfd08245760cf843a8417cc0d12706c10e107f99e (diff)
downloadzabbix-176fe90c3ce7c97d99e197021cf1d5113a58a83f.tar.gz
zabbix-176fe90c3ce7c97d99e197021cf1d5113a58a83f.tar.xz
zabbix-176fe90c3ce7c97d99e197021cf1d5113a58a83f.zip
Minor fix.
git-svn-id: svn://svn.zabbix.com/trunk@3005 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r--frontends/php/history.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php
index db46a737..2c66c028 100644
--- a/frontends/php/history.php
+++ b/frontends/php/history.php
@@ -486,6 +486,8 @@ COpt::profiling_start("history");
if($row["valuemapid"] > 0)
$value = replace_value_by_map($row["value"], $row["valuemapid"]);
+ else
+ $value = $row["value"];
$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)))