summaryrefslogtreecommitdiff
path: root/inc/IXR_Library.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r--inc/IXR_Library.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php
index 088ae8d45..2752e31f2 100644
--- a/inc/IXR_Library.php
+++ b/inc/IXR_Library.php
@@ -176,6 +176,7 @@ class IXR_Message {
}
function tag_open($parser, $tag, $attr) {
$this->currentTag = $tag;
+ $this->_currentTagContents = '';
switch($tag) {
case 'methodCall':
case 'methodResponse':
@@ -211,7 +212,7 @@ class IXR_Message {
$valueFlag = true;
break;
case 'string':
- $value = (string)trim($this->_currentTagContents);
+ $value = (string)$this->_currentTagContents;
$this->_currentTagContents = '';
$valueFlag = true;
break;