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