diff options
author | Urban Müller | 2012-02-14 15:51:34 +0000 |
---|---|---|
committer | Urban Müller | 2012-02-14 15:51:34 +0000 |
commit | 23a718fbf4f6833932f09590440303397a30747f (patch) | |
tree | d8ed4d6bf99bc9cc1080aa0fb850bed51016ade3 /it_xml.class | |
parent | 7189a771aec053c0e0e43d7128f72364329abf53 (diff) | |
download | itools-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.class | 2 |
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 : ""; } } |