summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/export.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-26 10:08:51 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-26 10:08:51 +0000
commit20dfeb5d1966879f9d76e69cab4872831119ba9f (patch)
treee3a3673afe6ac777b6e87f3aea84e9ffc389de7f /frontends/php/include/export.inc.php
parent4d212982af9a2fa7d7f11e33fd5462a2d182d08a (diff)
downloadzabbix-20dfeb5d1966879f9d76e69cab4872831119ba9f.tar.gz
zabbix-20dfeb5d1966879f9d76e69cab4872831119ba9f.tar.xz
zabbix-20dfeb5d1966879f9d76e69cab4872831119ba9f.zip
- [NTT-32] merged rev. 4916:4918 of branches/1.4.j/ (Artem) (fixed import/export of triggers)
git-svn-id: svn://svn.zabbix.com/trunk@4919 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/export.inc.php')
-rw-r--r--frontends/php/include/export.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/include/export.inc.php b/frontends/php/include/export.inc.php
index 77eb49fc..3b851e4f 100644
--- a/frontends/php/include/export.inc.php
+++ b/frontends/php/include/export.inc.php
@@ -66,6 +66,7 @@
'attribures' => array(),
'elements' => array(
'description' => '',
+ 'type' => '',
'expression' => '',
'url' => '',
'status' => '',
@@ -214,6 +215,7 @@
{
if(empty($data[$db_name])) continue;
if(empty($xml_name)) $xml_name = $db_name;
+
zbx_xmlwriter_write_element ($memory, $xml_name, $data[$db_name]);
}
zbx_xmlwriter_end_element($memory); // XML_TAG_TRIGGER