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

Bug #1568 Probleme in function cmdStatus
Submitted: 2004-06-07 04:06 UTC Modified: 2006-12-26 23:18 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  


 [2004-06-07 04: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 11: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