summaryrefslogtreecommitdiff
path: root/framework/Xml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Xml')
-rw-r--r--framework/Xml/TXmlDocument.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index 96340baf..4ea2056e 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -103,7 +103,7 @@ class TXmlElement extends TComponent
*/
public function setValue($value)
{
- $this->_value=$value;
+ $this->_value=TPropertyValue::ensureString($value);
}
/**