summaryrefslogtreecommitdiffstats
path: root/codebase/tree_connector.php
diff options
context:
space:
mode:
Diffstat (limited to 'codebase/tree_connector.php')
-rw-r--r--codebase/tree_connector.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/codebase/tree_connector.php b/codebase/tree_connector.php
index ddc21e7..d94206a 100644
--- a/codebase/tree_connector.php
+++ b/codebase/tree_connector.php
@@ -188,7 +188,11 @@ class TreeConnector extends Connector{
/*! renders self as xml, starting part
*/
public function xml_start(){
- return "<tree id='".$this->request->get_relation()."'>";
+ $attributes = "";
+ foreach($this->attributes as $k=>$v)
+ $attributes .= " ".$k."='".$v."'";
+
+ return "<tree id='".$this->request->get_relation()."'".$attributes.">";
}
/*! renders self as xml, ending part