diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php index 4f8eb31c1d73db66ffc096aec3f4bd18f9512859..9c270b1ce0dc6790b3afeed8b0c01a8421c64811 100644 --- a/inc/IXR_Library.php +++ b/inc/IXR_Library.php @@ -225,11 +225,9 @@ class IXR_Message { break; case 'value': // "If no type is indicated, the type is string." - if (trim($this->_currentTagContents) != '') { - $value = (string)$this->_currentTagContents; - $this->_currentTagContents = ''; - $valueFlag = true; - } + $value = (string)$this->_currentTagContents; + $this->_currentTagContents = ''; + $valueFlag = true; break; case 'boolean': $value = (boolean)trim($this->_currentTagContents);