Skip to content

Commit

Permalink
bump version number in file
Browse files Browse the repository at this point in the history
remove one debug call to avoid break
  • Loading branch information
ccarnivore authored and f3l1x committed Jul 27, 2020
1 parent 851d701 commit d3cc031
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class nusoap_base
* @var string
* @access private
*/
var $version = '0.9.5';
var $version = '0.9.11';
/**
* CVS revision for HTTP headers.
*
Expand Down Expand Up @@ -6294,7 +6294,9 @@ function serializeType($name, $type, $value, $use = 'encoded', $encodingStyle =
$rows = sizeof($value);
$contents = '';
foreach ($value as $k => $v) {
$this->debug("serializing array element: $k, " . (is_array($v) ? "array" : $v) . " of type: $typeDef[arrayType]");
//$this->debug breaks when serializing ArrayOfComplexType
//Error: Object of class [COMPLEX-TYPE] could not be converted to string
//$this->debug("serializing array element: $k, " . (is_array($v) ? "array" : $v) . " of type: $typeDef[arrayType]");
//if (strpos($typeDef['arrayType'], ':') ) {
if (!in_array($typeDef['arrayType'], $this->typemap['http://www.w3.org/2001/XMLSchema'])) {
$contents .= $this->serializeType('item', $typeDef['arrayType'], $v, $use);
Expand Down

0 comments on commit d3cc031

Please sign in to comment.