Home » Web Services » Services_Amazon » Bug #6783
Notice triggered
Details
| Submitted | 2006-02-14 18:10 UTC |
|---|---|
| From | seth at pricepages dot org |
| Status | Duplicate |
| Package | Services_Amazon |
| PHP Version | Irrelevant |
| OS | Mac |
| 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.