aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-27 19:32:18 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-27 19:32:18 +0000
commit1f118ba2ae02dd1bf3ff1d3be06245b03a561180 (patch)
tree65673c5298fa58f5f3881cde7d357f8171ca6692 /phpBB/includes/functions.php
parent8e297a038c6dfed7ca892d8799cfbdb010cc0911 (diff)
downloadforums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar
forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.gz
forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.bz2
forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.xz
forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.zip
#5610
git-svn-id: file:///svn/phpbb/trunk@6674 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-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 5d12f9684c..5c2b524fcf 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2101,7 +2101,7 @@ function bump_topic_allowed($forum_id, $topic_bumped, $last_post_time, $topic_po
function get_context($text, $words, $length = 400)
{
// first replace all whitespaces with single spaces
- $text = preg_replace('/\s+/', ' ', $text);
+ $text = preg_replace('/\s+/u', ' ', $text);
$word_indizes = array();
if (sizeof($words))