From 9ce0c818598761183f0d37c53994355091666f2d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 22 Dec 2005 18:03:06 +0000 Subject: [PATCH] r663: Make highlight case-insensitive --- showreport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/showreport.php b/showreport.php index 6027817..747d25b 100644 --- a/showreport.php +++ b/showreport.php @@ -305,7 +305,7 @@ while ($comment = $db->fetch_array($comments_fetch)) { foreach ($hilight AS $id => $find) { - $find = "#($find)#"; + $find = "#($find)#i"; $replace = "\\1"; $comment['comment_parsed'] = preg_replace($find, $replace, $comment['comment_parsed']); } @@ -320,7 +320,7 @@ if (is_array($hilight)) { foreach ($hilight AS $id => $find) { - $find = "#($find)#"; + $find = "#($find)#i"; $replace = "\\1"; $bug['summary'] = preg_replace($find, $replace, $bug['summary']); } -- 2.22.5