PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » Services_Amazon » Bug #6783

Notice triggered

Details

Submitted2006-02-14 18:10 UTC
Fromseth at pricepages dot org
StatusDuplicate
PackageServices_Amazon
PHP VersionIrrelevant
OSMac
Roadmaps(Not assigned)

Comments

[2006-02-14 18:10 UTC] seth at pricepages dot org

Description:
------------
A PHP Notice is triggered when an array index is accessed
that doesn't exist in AmazonECS4::_checkContentError()

I changed the code from:

$error = $content['Request']['Errors']['Error'];
if (isset($error)) {
if (isset($error['Code'])) {

To:

if (isset($content['Request']['Errors']['Error'])) {
$error = $content['Request']['Errors']['Error'];
if (isset($error['Code'])) {

[2006-02-15 01:33 UTC] ttsuruoka at php dot net

Already reported and fixed.

http://pear.php.net/bugs/bug.php?id=5821

The fix will appear in the next release (0.5.0).

Thank you.