summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/IXR_Library.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php
index 4f8eb31c1..9c270b1ce 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);