summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_xml.class')
-rw-r--r--it_xml.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_xml.class b/it_xml.class
index d472183..4c9cb1c 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -373,7 +373,7 @@ function set($vals, $parentprefix = null)
function __toString()
{
- return strlen($this->val) ? $this->val : "";
+ return (string)$this->val;
}
}