mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
* eMail/egw-pear: fixed problem with unexpected (but valid) multiline response for STATUS commands
This commit is contained in:
parent
95d9dc084f
commit
472f262eb1
@ -1190,7 +1190,7 @@ class Net_IMAPProtocol {
|
||||
if (!PEAR::isError($ret) && isset($ret['PARSED'])) {
|
||||
foreach ($ret['PARSED'] as &$parsed)
|
||||
{
|
||||
if (!empty($parsed['EXT']))
|
||||
if (!empty($parsed['EXT']) && $parsed['COMMAND']=='STATUS')
|
||||
{
|
||||
if(empty($ret['RESPONSE']['CODE'])) $ret['RESPONSE']['CODE'] ='OK';
|
||||
$ret['PARSED'] = $parsed['EXT'];
|
||||
|
Loading…
Reference in New Issue
Block a user