summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
authorUrban Müller2012-02-14 15:51:34 +0000
committerUrban Müller2012-02-14 15:51:34 +0000
commit23a718fbf4f6833932f09590440303397a30747f (patch)
treed8ed4d6bf99bc9cc1080aa0fb850bed51016ade3 /it_xml.class
parent7189a771aec053c0e0e43d7128f72364329abf53 (diff)
downloaditools-23a718fbf4f6833932f09590440303397a30747f.tar.gz
itools-23a718fbf4f6833932f09590440303397a30747f.tar.bz2
itools-23a718fbf4f6833932f09590440303397a30747f.zip
return "" for undefined nodes
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 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 : "";
}
}