Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 in develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Nov 26, 2015
2 parents 5e40ba9 + 0ed42df commit ab1f16d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AbstractValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ protected static function _extractTypeAndValue(\SimpleXMLElement $xml, &$type, &
$namespaces = ['ex' => 'http://ws.apache.org/xmlrpc/namespaces/extensions'];
foreach ($namespaces as $namespaceName => $namespaceUri) {
$namespaceXml = $xml->children($namespaceUri);
list($type, $value) = each($namespaceXml);
$namespaceXmlAsArray = (array) $namespaceXml;
list($type, $value) = each($namespaceXmlAsArray);
if ($type !== null) {
$type = $namespaceName . ':' . $type;
break;
Expand Down

0 comments on commit ab1f16d

Please sign in to comment.