Changeset 3305 in subversion


Ignore:
Timestamp:
Mar 2, 2010 3:17:07 PM (3 years ago)
Author:
alec
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3303 r3305  
    159159  // show 'to' instead of 'from' in sent/draft messages 
    160160  if ((strpos($mbox.$delim, $CONFIG['sent_mbox'].$delim)===0 || strpos($mbox.$delim, $CONFIG['drafts_mbox'].$delim)===0) 
    161       && ($f = array_search('from', $a_show_cols)) && !array_search('to', $a_show_cols)) 
     161      && (($f = array_search('from', $a_show_cols)) !== false) && array_search('to', $a_show_cols) === false) 
    162162    $a_show_cols[$f] = 'to'; 
    163163   
Note: See TracChangeset for help on using the changeset viewer.