diff options
author | Christian Schneider | 2012-02-14 16:54:44 +0000 |
---|---|---|
committer | Christian Schneider | 2012-02-14 16:54:44 +0000 |
commit | 4d945c4a8ced3835064592f35ce2d68083e51b09 (patch) | |
tree | feb456b073862491d91238d8b1f16fb9d221e322 | |
parent | 23a718fbf4f6833932f09590440303397a30747f (diff) | |
download | itools-4d945c4a8ced3835064592f35ce2d68083e51b09.tar.gz itools-4d945c4a8ced3835064592f35ce2d68083e51b09.tar.bz2 itools-4d945c4a8ced3835064592f35ce2d68083e51b09.zip |
Simplify it_xml::__toString: Always return a string
-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 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; } } |