Changeset 4906eb8 in github
- Timestamp:
- Sep 11, 2009 8:11:16 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- e7b283b
- Parents:
- 2b82072
- File:
-
- 1 edited
-
program/steps/mail/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/func.inc
rb48d9bf r4906eb8 153 153 154 154 $mbox = $IMAP->get_mailbox_name(); 155 156 // show 'to' instead of from in sent messages 157 if (($mbox==$CONFIG['sent_mbox'] || $mbox==$CONFIG['drafts_mbox']) && ($f = array_search('from', $a_show_cols)) 158 && !array_search('to', $a_show_cols)) 155 $delim = $IMAP->get_hierarchy_delimiter(); 156 157 // show 'to' instead of 'from' in sent/draft messages 158 if ((strpos($mbox.$delim, $CONFIG['sent_mbox'].$delim)===0 || strpos($mbox.$delim, $CONFIG['drafts_mbox'].$delim)===0) 159 && ($f = array_search('from', $a_show_cols)) && !array_search('to', $a_show_cols)) 159 160 $a_show_cols[$f] = 'to'; 160 161 … … 393 394 394 395 $mbox = $IMAP->get_mailbox_name(); 395 396 // show 'to' instead of from in sent messages 397 if (($mbox == $CONFIG['sent_mbox'] || $mbox == $CONFIG['drafts_mbox']) 396 $delim = $IMAP->get_hierarchy_delimiter(); 397 398 // show 'to' instead of 'from' in sent/draft messages 399 if ((strpos($mbox.$delim, $CONFIG['sent_mbox'].$delim)===0 || strpos($mbox.$delim, $CONFIG['drafts_mbox'].$delim)===0) 398 400 && (($f = array_search('from', $a_show_cols)) !== false) && array_search('to', $a_show_cols) === false) 399 401 $a_show_cols[$f] = 'to';
Note: See TracChangeset
for help on using the changeset viewer.
