From ec6762416d9243d08bc94344d506cf4421aed385 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Wed, 9 Aug 2000 18:55:56 +0000 Subject: [PATCH] made message highlighting not case sensative git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@693 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index f6959b54..8613c2b5 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -29,11 +29,11 @@ for ($i=0; $i < count($message_highlight_list); $i++) { if (trim($message_highlight_list[$i]["value"]) != "") { if ($message_highlight_list[$i]["match_type"] == "to_cc") { - if (strpos("^^".$msg["TO"], $message_highlight_list[$i]["value"]) || strpos("^^".$msg["CC"], $message_highlight_list[$i]["value"])) { + if (strpos("^^".strtolower($msg["TO"]), $message_highlight_list[$i]["value"]) || strpos("^^".strtolower($msg["CC"]), $message_highlight_list[$i]["value"])) { $hlt_color = $message_highlight_list[$i]["color"]; continue; } - } else if (strpos("^^".$msg[strtoupper($message_highlight_list[$i]["match_type"])],$message_highlight_list[$i]["value"])) { + } else if (strpos("^^".strtolower($msg[strtoupper($message_highlight_list[$i]["match_type"])]),$message_highlight_list[$i]["value"])) { $hlt_color = $message_highlight_list[$i]["color"]; continue; } -- 2.25.1