Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Bug #6430: No unified return values

git-svn-id: http://svn.php.net/repository/pear/packages/Services_Amazon/trunk@204768 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit a792da65e8d7bfefc4505497c7faf93f93198465 1 parent 8acf7a9
@ttsuruoka ttsuruoka authored
Showing with 4 additions and 2 deletions.
  1. +3 −1 AmazonECS4.php
  2. +1 −1  package.xml
View
4 AmazonECS4.php
@@ -934,7 +934,9 @@ function _sendRequest($params)
}
$result = $http->getResponseBody();
- $xml = &new XML_Unserializer(array('parseAttributes' => true));
+ $xml = &new XML_Unserializer();
+ $xml->setOption(XML_UNSERIALIZER_OPTION_ATTRIBUTES_PARSE, true);
+ $xml->setOption(XML_UNSERIALIZER_OPTION_FORCE_ENUM, array('Item', 'Parameter', 'ResponseGroup'));
$xml->unserialize($result, false);
$data = $xml->getUnserializedData();
View
2  package.xml
@@ -42,7 +42,7 @@ Services_Amazon:
<deps>
<dep type="pkg" rel="has" optional="no">PEAR</dep>
<dep type="pkg" rel="has" optional="no">HTTP_Request</dep>
- <dep type="pkg" rel="has" optional="no">XML_Serializer</dep>
+ <dep type="pkg" rel="ge" version="0.17.0" optional="no">XML_Serializer</dep>
<dep type="pkg" rel="has" optional="yes">Cache</dep>
</deps>
<filelist>
Please sign in to comment.
Something went wrong with that request. Please try again.