Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.0

Bug #5821 [PATCH] E_NOTICE in AmazonECS4.php
Submitted: 2005-10-29 07:42 UTC
From: ttsuruoka Assigned: ttsuruoka
Status: Closed Package: Services_Amazon
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 41 + 6 = ?

 [2005-10-29 07:42 UTC] ttsuruoka
Description: ------------ Services_AmazonECS4 returns the following error: "Notice: Undefined index: Errors in /path/to/AmazonECS4.php on line 989" Here's a patch: Index: AmazonECS4.php =================================================================== --- AmazonECS4.php (revision 58) +++ AmazonECS4.php (working copy) @@ -986,8 +986,8 @@ */ function _checkContentError($content) { - $error = $content['Request']['Errors']['Error']; - if (isset($error)) { + if (isset($content['Request']['Errors']['Error'])) { + $error = $content['Request']['Errors']['Error']; if (isset($error['Code'])) { $errormsg = $error['Code'] . ':' . $error['Message']; } else {


 [2005-11-25 02:29 UTC] ttsuruoka at php dot net
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.