瀏覽代碼

Fixes default type == string

More details here: https://github.com/zendframework/zf1/issues/229
Tomas Paladin Volf 12 年之前
父節點
當前提交
a53b4c6c99
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      library/Zend/XmlRpc/Value.php

+ 1 - 0
library/Zend/XmlRpc/Value.php

@@ -508,6 +508,7 @@ abstract class Zend_XmlRpc_Value
         // If no type was specified, the default is string
         if (!$type) {
             $type = self::XMLRPC_TYPE_STRING;
+            $value = str_replace(array('<value>', '</value>'), '', $xml->asXML());
         }
     }