summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-09-19 16:57:19 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-09-19 16:57:19 +0000
commite5ef8796293a7d36face4704fb59831e1a3d4f47 (patch)
tree6fdcb8a5e1e29273a95f68f88a2daac1a07d5b1f /frontends/php/include/classes.inc.php
parent2c98552c995515bd63182ae937a009c062e82cf8 (diff)
downloadzabbix-e5ef8796293a7d36face4704fb59831e1a3d4f47.tar.gz
zabbix-e5ef8796293a7d36face4704fb59831e1a3d4f47.tar.xz
zabbix-e5ef8796293a7d36face4704fb59831e1a3d4f47.zip
- added support of macros $1,..., $9 (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2061 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php
index 5c078c47..60b47c5e 100644
--- a/frontends/php/include/classes.inc.php
+++ b/frontends/php/include/classes.inc.php
@@ -130,6 +130,7 @@
function addItem($itemid)
{
$this->items[$this->num]=get_item_by_itemid($itemid);
+ $this->items[$this->num]["description"]=item_description($this->items[$this->num]["description"],$this->items[$this->num]["key_"]);
$host=get_host_by_hostid($this->items[$this->num]["hostid"]);
$this->items[$this->num]["host"]=$host["host"];
$this->itemids[$this->items[$this->num]["itemid"]]=$this->num;