summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorChristophe.Boulain <>2010-02-16 13:45:07 +0000
committerChristophe.Boulain <>2010-02-16 13:45:07 +0000
commitb16c9cf50a1b2ca709640f19d9a80aede83c0bdf (patch)
treeb639aed0ebc84bb09a290eace5224883f3351e54 /framework
parentadf8849d63b53310257d8d129c42262ede2de155 (diff)
Fixed Issue#223
Diffstat (limited to 'framework')
-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 7d506852..96340baf 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -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));
}
/**