mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 21:32:46 +02:00
fixed lost mails if trying to move to a mailbox one has no rights or is over quota
This commit is contained in:
parent
4e75d475fc
commit
3df1e4a6fd
@ -1203,6 +1203,9 @@ class Net_IMAP extends Net_IMAPProtocol {
|
|||||||
if ( PEAR::isError( $ret ) ) {
|
if ( PEAR::isError( $ret ) ) {
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
if(strtoupper($ret["RESPONSE"]["CODE"]) != "OK"){
|
||||||
|
return new PEAR_Error($ret["RESPONSE"]["CODE"] . ", " . $ret["RESPONSE"]["STR_CODE"]);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user