Changeset a561cd3 in github
- Timestamp:
- Oct 19, 2011 2:35:29 AM (19 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
- Children:
- c041d57
- Parents:
- 01169b6
- File:
-
- 1 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
rdfc79b3 ra561cd3 2587 2587 // make sure mailbox exists 2588 2588 if ($to_mbox != 'INBOX' && !$this->mailbox_exists($to_mbox)) { 2589 if (in_array($to_mbox, $this->default_folders)) 2590 $this->create_mailbox($to_mbox, true); 2591 else 2589 if (in_array($to_mbox, $this->default_folders)) { 2590 if (!$this->create_mailbox($to_mbox, true)) { 2591 return false; 2592 } 2593 } 2594 else { 2592 2595 return false; 2596 } 2593 2597 } 2594 2598 … … 2668 2672 // make sure mailbox exists 2669 2673 if ($to_mbox != 'INBOX' && !$this->mailbox_exists($to_mbox)) { 2670 if (in_array($to_mbox, $this->default_folders)) 2671 $this->create_mailbox($to_mbox, true); 2672 else 2674 if (in_array($to_mbox, $this->default_folders)) { 2675 if (!$this->create_mailbox($to_mbox, true)) { 2676 return false; 2677 } 2678 } 2679 else { 2673 2680 return false; 2681 } 2674 2682 } 2675 2683
Note: See TracChangeset
for help on using the changeset viewer.
