diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-14 08:18:48 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-14 08:18:48 +0000 |
| commit | 9aece56f182f4491686494e935f7122ee5295bf1 (patch) | |
| tree | a377f4e716db7df940e36bac64d935b123dda0a5 /frontends/php/include/items.inc.php | |
| parent | 3bcbd824202608c482702acf1c195df92a65f0b6 (diff) | |
| download | zabbix-9aece56f182f4491686494e935f7122ee5295bf1.tar.gz zabbix-9aece56f182f4491686494e935f7122ee5295bf1.tar.xz zabbix-9aece56f182f4491686494e935f7122ee5295bf1.zip | |
- [DEV-137] fixes in template linkage. Tnx to Palmertree. (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5827 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
| -rw-r--r-- | frontends/php/include/items.inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index ee13f9b2..5552f4a5 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -284,7 +284,7 @@ DBexecute('INSERT INTO items_applications (itemappid,itemid,applicationid) VALUES('.$itemappid.','.$itemid.','.$appid.')'); } - info('Added new item '.$host['host'].':$key'); + info('Added new item '.$host['host'].':'.$key); // add items to child hosts @@ -473,8 +473,7 @@ $item_data = get_item_by_itemid($itemid); - foreach($restore_rules as $var_name => $info) - { + foreach($restore_rules as $var_name => $info){ if (!isset($info['db_varname'])) $info['db_varname'] = $var_name; if ($item_data['type'] == ITEM_TYPE_HTTPTEST && !isset($info['httptest'])) |
