diff options
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index fa2845d5b..f228a5364 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1383,16 +1383,16 @@ class rcube_imap */ function move_message($uids, $to_mbox, $from_mbox='') { - $to_mbox = stripslashes($to_mbox); + $to_mbox_in = stripslashes($to_mbox); $from_mbox = stripslashes($from_mbox); - $to_mbox = $this->_mod_mailbox($to_mbox); + $to_mbox = $this->_mod_mailbox($to_mbox_in); $from_mbox = $from_mbox ? $this->_mod_mailbox($from_mbox) : $this->mailbox; // make sure mailbox exists if (!in_array($to_mbox, $this->_list_mailboxes())) { - if (in_array($to_mbox, $this->default_folders)) - $this->create_mailbox($to_mbox, TRUE); + if (in_array($to_mbox_in, $this->default_folders)) + $this->create_mailbox($to_mbox_in, TRUE); else return FALSE; } |