summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-02 20:17:07 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-02 20:17:07 +0000
commita5286d4a7cb29f6d4bf9e5098a7de3ae7f8a98e9 (patch)
treea8fd8bdc0f10176e1106d88d8e17407f38247dc9 /roundcubemail/program/steps
parentbf978ceb2ad1dcd8a5a42ed37893dcf59e646098 (diff)
- Fix Recipient/Sender column name in drafts folder (#1486351)
git-svn-id: https://svn.roundcube.net/trunk@3305 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index be3bbbf06..491f79a5e 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -158,7 +158,7 @@ function rcmail_message_list($attrib)
// 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