summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-20 11:27:00 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-20 11:27:00 +0000
commit00a0d7d280dbb103e16326403162e561eb86784a (patch)
tree3cb3221688cb0aaa07049701d793a8bc39dc7206 /frontends/php/include
parentfe50fe1231f837e82829c051553aa1be1f3cac3e (diff)
downloadzabbix-00a0d7d280dbb103e16326403162e561eb86784a.tar.gz
zabbix-00a0d7d280dbb103e16326403162e561eb86784a.tar.xz
zabbix-00a0d7d280dbb103e16326403162e561eb86784a.zip
- [DEV-137] fix to screens plain text item. Thnx to Palmertree (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5784 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/screens.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/include/screens.inc.php b/frontends/php/include/screens.inc.php
index d13411b4..6db521d6 100644
--- a/frontends/php/include/screens.inc.php
+++ b/frontends/php/include/screens.inc.php
@@ -651,12 +651,12 @@
global $DB;
$item=get_item_by_itemid($itemid);
- switch($item["value_type"])
- {
- case ITEM_VALUE_TYPE_FLOAT: $history_table = "history"; break;
+ switch($item["value_type"]){
+ case ITEM_VALUE_TYPE_FLOAT: $history_table = "history"; break;
case ITEM_VALUE_TYPE_UINT64: $history_table = "history_uint"; break;
- case ITEM_VALUE_TYPE_TEXT: $history_table = "history_text"; break;
- default: $history_table = "history_str"; break;
+ case ITEM_VALUE_TYPE_TEXT: $history_table = "history_text"; break;
+ case ITEM_VALUE_TYPE_LOG: $history_table = "history_log"; break;
+ default: $history_table = "history_str"; break;
}
$sql='SELECT h.clock,h.value,i.valuemapid '.