Procházet zdrojové kódy

Fixes default type == string

More details here: https://github.com/zendframework/zf1/issues/229
Tomas Paladin Volf před 12 roky
rodič
revize
a53b4c6c99
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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());
         }
     }