aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-07 17:11:51 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-07 17:11:51 +0000
commita7df65168c3380e50fbe84d8f9e74274b1cc74ff (patch)
tree8abb3b50ffe00db6f2e51a9b11db57d95ede545b /phpBB
parentc40783e6a24f56818407e824ca847565d222b542 (diff)
downloadforums-a7df65168c3380e50fbe84d8f9e74274b1cc74ff.tar
forums-a7df65168c3380e50fbe84d8f9e74274b1cc74ff.tar.gz
forums-a7df65168c3380e50fbe84d8f9e74274b1cc74ff.tar.bz2
forums-a7df65168c3380e50fbe84d8f9e74274b1cc74ff.tar.xz
forums-a7df65168c3380e50fbe84d8f9e74274b1cc74ff.zip
better not. ;)
git-svn-id: file:///svn/phpbb/trunk@6458 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index f491e45caf..4bb99f737d 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2064,7 +2064,7 @@ function get_context($text, $words, $length = 400)
{
if (preg_match('#(?:[^\w]|^)(' . str_replace('\*', '\w*?', preg_quote($word, '#')) . ')(?:[^\w]|$)#i', $text, $match))
{
- $pos = utf8_strpos($text, $match[1]);
+ $pos = strpos($text, $match[1]);
if ($pos !== false)
{
$word_indizes[] = $pos;