From ab26c1ae75287df03acf148df90490e530b15346 Mon Sep 17 00:00:00 2001 From: "Christophe.Boulain" <> Date: Tue, 16 Feb 2010 14:55:38 +0000 Subject: Also ensure Value property of a TXmlElement is a string (related to 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 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); } /** -- cgit v1.2.3