aboutsummaryrefslogtreecommitdiff
path: root/lib/export
diff options
context:
space:
mode:
Diffstat (limited to 'lib/export')
-rw-r--r--lib/export/export_xml_func.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/export/export_xml_func.inc.php b/lib/export/export_xml_func.inc.php
index 2021feb..a3be8c0 100644
--- a/lib/export/export_xml_func.inc.php
+++ b/lib/export/export_xml_func.inc.php
@@ -72,9 +72,9 @@ global $SOFTWARE_VERSION, $ex_type, $ex_sem, $range_name, $range_id;
* @param string value for optional attribute "key"
* @return string xml open tag
*/
-function xml_open_tag($tag_name, $tag_key = null)
+function xml_open_tag($tag_name, $key = null)
{
- $xml_tag_string = rtrim(' ' . xml_attributes_to_string(compact('tag_key')));
+ $xml_tag_string = rtrim(' ' . xml_attributes_to_string(compact('key')));
$xml_tag_string = "<{$tag_name}{$xml_tag_string}>\n";
return $xml_tag_string;
}