From 2464e20dd27783e8815fbb6da836291558306511 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 14 Nov 2002 11:04:22 +0000 Subject: [PATCH] fix for include self in reply git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4146 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compose.php b/src/compose.php index 36cdf51a..57597f04 100644 --- a/src/compose.php +++ b/src/compose.php @@ -117,7 +117,7 @@ function replyAllString($header) { * TO list) only if $include_self_reply_all is turned off */ if (!$include_self_reply_all) { - $email_address = trim(getPref($data_dir, $username, 'email_address')); + $email_address = strtolower(trim(getPref($data_dir, $username, 'email_address'))); $excl_ar[$email_address] = ''; $idents = getPref($data_dir, $username, 'identities'); if ($idents != '' && $idents > 1) { @@ -125,7 +125,7 @@ function replyAllString($header) { for ($i = 1; $i < $idents; $i ++) { $cur_email_address = getPref($data_dir, $username, 'email_address' . $i); - $cur_email_address = strtolower($cur_email_address); + $cur_email_address = strtolower(trim($cur_email_address)); $excl_ar[$cur_email_address] = ''; } } -- 2.25.1