From b16c9cf50a1b2ca709640f19d9a80aede83c0bdf Mon Sep 17 00:00:00 2001 From: "Christophe.Boulain" <> Date: Tue, 16 Feb 2010 13:45:07 +0000 Subject: Fixed Issue#223 --- framework/Xml/TXmlDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Xml') 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)); } /** -- cgit v1.2.3