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

Commit

Permalink
Merge 6b88c6f into 5e40ba9
Browse files Browse the repository at this point in the history
  • Loading branch information
jkavalik committed Nov 26, 2015
2 parents 5e40ba9 + 6b88c6f commit 25b7504
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 25b7504

Please sign in to comment.