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

Bug #1568 Probleme in function cmdStatus
Submitted: 2004-06-07 09:06 UTC
From: dboukari at sqli dot com Assigned: damian
Status: Closed Package: Net_IMAP
PHP Version: 4.3.4 OS: Red Hat 9
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 26 - 21 = ?

 
 [2004-06-07 09:06 UTC] dboukari at sqli dot com
Description: ------------ My Env : Red Hat 9,Sendmail and i use "imap-2001a-18". In function Net_IMAPProtocol::cmdStatus($mailbox, $request) (file "imapprotocol.php") Line : $ret['PARSED']=$ret["PARSED"][0]["EXT"]; Must be change in : $ret['PARSED']=$ret["PARSED"][count($ret['PARSED'])-1]["EXT"]; Because the line : $ret = $this->_genericCommand('STATUS', "$mailbox_name ($request)" ); return an array of this type: array[ RESPONSE[CODE=>,STR_CODE=>,CMDID=>], PARSED[[0]=>,[1]=>,...,[n]=>] ] That's all. Thank

Comments

 [2004-06-26 16:06 UTC] damian
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_IMAP Version 1.0.1 fixes this bug