Changeset 3115 in subversion


Ignore:
Timestamp:
Nov 18, 2009 8:58:15 AM (4 years ago)
Author:
alec
Message:
  • fix creating default folder when moving message and target folder doesn't exists
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r3048 r3115  
    17121712    if ($to_mbox != 'INBOX' && !in_array($to_mbox, $this->_list_mailboxes())) 
    17131713      { 
    1714       if (in_array($to_mbox_in, $this->default_folders)) 
    1715         $this->create_mailbox($to_mbox_in, TRUE); 
     1714      if (in_array($tbox, $this->default_folders)) 
     1715        $this->create_mailbox($tbox, TRUE); 
    17161716      else 
    17171717        return FALSE; 
Note: See TracChangeset for help on using the changeset viewer.