diff options
author | Christophe.Boulain <> | 2010-02-16 14:55:38 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2010-02-16 14:55:38 +0000 |
commit | ab26c1ae75287df03acf148df90490e530b15346 (patch) | |
tree | aec55ceb1b9d0c4ada9f01d5a74027b1f5530175 | |
parent | b16c9cf50a1b2ca709640f19d9a80aede83c0bdf (diff) |
Also ensure Value property of a TXmlElement is a string (related to Issue#223)
-rw-r--r-- | framework/Xml/TXmlDocument.php | 2 |
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); } /** |