summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-02 20:17:07 +0000
committeralecpl <alec@alec.pl>2010-03-02 20:17:07 +0000
commitffaea6f6ded918d8d12d858ede0cda8ef5655aa4 (patch)
tree0fda37d307b961a0c43c9592b333fd50ce8aee64
parentc8cf268b9db55ca0a27f669a060eea320b2d5f9e (diff)
- Fix Recipient/Sender column name in drafts folder (#1486351)
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index be3bbbf06..491f79a5e 100644
--- a/program/steps/mail/func.inc
+++ b/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