mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:09 +01:00
* eMail/egw-pear: fixed problem with unexpected (but valid) multiline response for STATUS commands
This commit is contained in:
parent
e8961f6fd4
commit
f50768ec0b
@ -1147,7 +1147,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