diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-29 08:15:19 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-29 08:15:19 +0000 |
| commit | 2ce640571ab5c0db1a26858f96ba804e36f1fb37 (patch) | |
| tree | 127d1eb470fcf23af2ec7395d877052fb13fe5f1 /frontends/php/include/items.inc.php | |
| parent | a97ce3766daf613ce516b6899584c5b4614e7f19 (diff) | |
| download | zabbix-2ce640571ab5c0db1a26858f96ba804e36f1fb37.tar.gz zabbix-2ce640571ab5c0db1a26858f96ba804e36f1fb37.tar.xz zabbix-2ce640571ab5c0db1a26858f96ba804e36f1fb37.zip | |
- fixed addition of triggers to linked hosts (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2008 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
| -rw-r--r-- | frontends/php/include/items.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index e44c66e1..b58a4685 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -116,7 +116,8 @@ $result=DBexecute($sql); if($result) { - info("Added new item $key"); + $host=get_host_by_hostid($hostid); + info("Added new item ".$host["host"].":$key"); } return DBinsert_id($result,"items","itemid"); } |
