diff options
-rw-r--r-- | actions/peoplesearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php index a4e9308cf..cf79e52e9 100644 --- a/actions/peoplesearch.php +++ b/actions/peoplesearch.php @@ -132,7 +132,7 @@ class PeoplesearchAction extends Action { } function highlight($text, $terms) { - $pattern = '/('.implode('|',array_map('htmlspecialchars', $terms)).')/'; + $pattern = '/('.implode('|',array_map('htmlspecialchars', $terms)).')/i'; $result = preg_replace($pattern, '<strong>\\1</strong>', $text); return $result; } |