aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 3716c03030..a6e5921b63 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2209,11 +2209,19 @@ function change_database_data(&$no_updates, $version)
if (!isset($config['fulltext_postgres_ts_name']))
{
- set_config('fulltext_postgres_max_word_len', 254);
- set_config('fulltext_postgres_min_word_len', 4);
set_config('fulltext_postgres_ts_name', 'simple');
}
+ if (!isset($config['fulltext_postgres_min_word_len']))
+ {
+ set_config('fulltext_postgres_min_word_len', 4);
+ }
+
+ if (!isset($config['fulltext_postgres_max_word_len']))
+ {
+ set_config('fulltext_postgres_max_word_len', 254);
+ }
+
if (!isset($config['load_jquery_cdn']))
{
set_config('load_jquery_cdn', 0);