cvs: pear /SOAP Base.php

From: Date: Wed, 26 Sep 2007 08:24:15 +0000
Subject: cvs: pear /SOAP Base.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-48686@lists.php.net to get a copy of this message
lsmith Wed Sep 26 08:24:15 2007 UTC Modified files: /pear/SOAP Base.php Log: - added missing parameter in _serializeValue() call http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.88&r2=1.89&diff_format=u Index: pear/SOAP/Base.php diff -u pear/SOAP/Base.php:1.88 pear/SOAP/Base.php:1.89 --- pear/SOAP/Base.php:1.88 Wed Sep 26 08:19:25 2007 +++ pear/SOAP/Base.php Wed Sep 26 08:24:15 2007 @@ -296,11 +296,9 @@ */ function SOAPENVPrefix($prefix = null) { - static $_soapenv_prefix; + static $_soapenv_prefix = 'SOAP-ENV'; if (!is_null($prefix)) { $_soapenv_prefix = $prefix; - } elseif (is_null($_soapenv_prefix)) { - $_soapenv_prefix = 'SOAP-ENV'; } return $_soapenv_prefix; } @@ -316,11 +314,9 @@ */ function SOAPENCPrefix($prefix = null) { - static $_soapenv_prefix; + static $_soapenv_prefix = 'SOAP-ENC'; if (!is_null($prefix)) { $_soapenv_prefix = $prefix; - } elseif (is_null($_soapenv_prefix)) { - $_soapenv_prefix = 'SOAP-ENC'; } return $_soapenv_prefix; } @@ -487,7 +483,7 @@ $array_type = $this->_getType($array_val); $array_types[$array_type] = 1; if (empty($options['keep_arrays_flat'])) { - $xmlout_value .= $this->_serializeValue($array_val, 'item', $array_type, $this->_section5 ? null : $elNamespace, $options); + $xmlout_value .= $this->_serializeValue($array_val, 'item', $array_type, $this->_section5 ? null : $elNamespace, null, $options); } else { $xmlout_value .= $this->_serializeValue($array_val, $name, $array_type, $elNamespace, null, $options, $attributes); }

« previous php.pear.cvs (#48686) next »