summaryrefslogtreecommitdiff
path: root/framework/Xml
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2010-02-21 11:34:12 +0000
committergodzilla80@gmx.net <>2010-02-21 11:34:12 +0000
commita779552bc0809d5673d7b4353168aef8114035b4 (patch)
tree4731d3c0867cbdba8a88facade20fda506226df9 /framework/Xml
parentc3dbc4d210cfb9d96961a990aa74c55560f2b4b4 (diff)
Merged latest changes into trunk (except r2773)
/branches/3.1:r2765,2770-2771,2774,2776-2778
Diffstat (limited to 'framework/Xml')
-rw-r--r--framework/Xml/TXmlDocument.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index 7d506852..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);
}
/**
@@ -139,7 +139,7 @@ class TXmlElement extends TComponent
*/
public function setAttribute($name,$value)
{
- $this->getAttributes()->add($name,$value);
+ $this->getAttributes()->add($name,TPropertyValue::ensureString($value));
}
/**