diff options
-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; } } |