diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-04-08 13:20:54 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-04-08 13:20:54 +0000 |
| commit | 9375f350eba62a27c27e1ab7765443fe9aac602b (patch) | |
| tree | ed915fd03b7f9fd3195b864c7c3fd6b4aa48f6e8 /roundcubemail/program/include | |
| parent | 5ef5c649535eca4d9cbcac29dd1cf1fba96d96e2 (diff) | |
Fixed message moving procedure (closes #1484308)
git-svn-id: https://svn.roundcube.net/trunk@538 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.inc b/roundcubemail/program/include/rcube_imap.inc index e07b6086a..3f4f2ebbd 100644 --- a/roundcubemail/program/include/rcube_imap.inc +++ b/roundcubemail/program/include/rcube_imap.inc @@ -1373,7 +1373,8 @@ class rcube_imap foreach ($a_uids as $uid) $a_mids[] = $this->_uid2id($uid, $from_mbox); - $moved = iil_C_Move($this->conn, join(',', $a_mids), $from_mbox, $to_mbox); + $iil_move = iil_C_Move($this->conn, join(',', $a_mids), $from_mbox, $to_mbox); + $moved = !($iil_move === false || $iil_move < 0); // send expunge command in order to have the moved message // really deleted from the source mailbox |
