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

Bug #1990 pear::raiseError called with wrong parameter order
Submitted: 2004-07-27 03:19 UTC Modified: 2004-07-27 04:01 UTC
From: alan_k Assigned: quipo
Status: Closed Package: Mail_Queue
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-27 03:19 UTC] alan_k
Description: ------------ in sendMailsInQueue() if mail returns an error, you get a message Warning: -9 in .../PEAR.php error call should be something like: PEAR::raiseError( 'Error in sending mail: '.$result->getMessage(), MAILQUEUE_ERROR_CANNOT_SEND_MAIL, PEAR_ERROR_TRIGGER, E_USER_NOTICE );

Comments

 [2004-07-27 04:01 UTC] quipo
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.