diff options
author | Stanislau Wolski <stanislau.wolski@gmail.com> | 2015-03-26 16:49:52 +0300 |
---|---|---|
committer | Stanislau Wolski <stanislau.wolski@gmail.com> | 2015-03-26 16:49:52 +0300 |
commit | 0094a944cab8d79732316b860d2d75f4a56af6e5 (patch) | |
tree | 6e45f43a75eb7dd026607799a0d07b556a944e53 | |
parent | 6be1d5d691bfc3f8ea38b1c6fe5dc741a5b09591 (diff) | |
download | connector-php-0094a944cab8d79732316b860d2d75f4a56af6e5.zip connector-php-0094a944cab8d79732316b860d2d75f4a56af6e5.tar.gz connector-php-0094a944cab8d79732316b860d2d75f4a56af6e5.tar.bz2 |
[fix] escaping of tree id values
-rw-r--r-- | codebase/tree_connector.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/tree_connector.php b/codebase/tree_connector.php index 03f267d..63d4442 100644 --- a/codebase/tree_connector.php +++ b/codebase/tree_connector.php @@ -121,7 +121,7 @@ class TreeDataItem extends DataItem{ function to_xml_start(){
if ($this->skip) return "";
- $str1="<item id='".$this->get_id()."' text='".$this->xmlentities($this->data[$this->config->text[0]["name"]])."' ";
+ $str1="<item id='".$this->xmlentities($this->get_id())."' text='".$this->xmlentities($this->data[$this->config->text[0]["name"]])."' ";
if ($this->has_kids()==true) $str1.="child='".$this->has_kids()."' ";
if ($this->im0) $str1.="im0='".$this->im0."' ";
if ($this->im1) $str1.="im1='".$this->im1."' ";
|