summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-05-20 08:29:51 +0000
committerthomascube <thomas@roundcube.net>2008-05-20 08:29:51 +0000
commita0579300964da869bce266c7acf0d93f4a107a41 (patch)
treee847d2b54d7a7dd75e659b05594c599f3b63301e /program/include
parentc1b3c4cc3168d41b97256bcc3d8dd70d2a404788 (diff)
Fix automatic creation of (prefixed) folders
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap.php8
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;
}