summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php3
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");
}