aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-11-12 17:05:07 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-27 08:49:06 -0500
commitc725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1 (patch)
tree18024c5bfdd8422aa30aedaeaa0df5ae34a26ed7
parentdb2297827d92f09e52cd2dd6f6b4613e0c210fe7 (diff)
downloadforums-c725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1.tar
forums-c725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1.tar.gz
forums-c725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1.tar.bz2
forums-c725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1.tar.xz
forums-c725b02df8a6d8838f6e0b7d82eaa8ec8f1839d1.zip
[ticket/11174] include utf_tools in postgres search backend
PHPBB3-11174
-rw-r--r--phpBB/includes/search/fulltext_postgres.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 08f64735b6..2880610655 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -121,6 +121,14 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
}
}
+ /**
+ * Load the UTF tools
+ */
+ if (!function_exists('utf8_strlen'))
+ {
+ include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
+ }
+
$error = false;
}