[Svn] r3305 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Tue Mar 2 21:17:07 CET 2010


Author: alec
Date: 2010-03-02 14:17:07 -0600 (Tue, 02 Mar 2010)
New Revision: 3305

Modified:
   trunk/roundcubemail/program/steps/mail/func.inc
Log:
- Fix Recipient/Sender column name in drafts folder (#1486351)


Modified: trunk/roundcubemail/program/steps/mail/func.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/func.inc	2010-03-02 17:33:51 UTC (rev 3304)
+++ trunk/roundcubemail/program/steps/mail/func.inc	2010-03-02 20:17:07 UTC (rev 3305)
@@ -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

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list