alecpl
2010-03-02 ffaea6f6ded918d8d12d858ede0cda8ef5655aa4
- Fix Recipient/Sender column name in drafts folder (#1486351)


1 files modified
2 ■■■ changed files
program/steps/mail/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -158,7 +158,7 @@
  // show 'to' instead of 'from' in sent/draft messages
  if ((strpos($mbox.$delim, $CONFIG['sent_mbox'].$delim)===0 || strpos($mbox.$delim, $CONFIG['drafts_mbox'].$delim)===0)
      && ($f = array_search('from', $a_show_cols)) && !array_search('to', $a_show_cols))
      && (($f = array_search('from', $a_show_cols)) !== false) && array_search('to', $a_show_cols) === false)
    $a_show_cols[$f] = 'to';
  
  // add col definition