aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-25 14:40:12 +0200
committerNils Adermann <naderman@naderman.de>2013-09-25 14:40:12 +0200
commit9373c0db9683dc0659545a28f904cc34c13d6be8 (patch)
tree09407716ff9b3b0a23b0d5a347b7035b109e9984 /phpBB/phpbb
parent3a478cb3e211d8663e6071377ce7d8397619be2f (diff)
downloadforums-9373c0db9683dc0659545a28f904cc34c13d6be8.tar
forums-9373c0db9683dc0659545a28f904cc34c13d6be8.tar.gz
forums-9373c0db9683dc0659545a28f904cc34c13d6be8.tar.bz2
forums-9373c0db9683dc0659545a28f904cc34c13d6be8.tar.xz
forums-9373c0db9683dc0659545a28f904cc34c13d6be8.zip
[ticket/11700] Only replace phpbb_search in strings that match
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/namespaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/namespaces.php b/phpBB/phpbb/db/migration/data/v310/namespaces.php
index 6da015d0da..9b182f88b8 100644
--- a/phpBB/phpbb/db/migration/data/v310/namespaces.php
+++ b/phpBB/phpbb/db/migration/data/v310/namespaces.php
@@ -22,7 +22,7 @@ class namespaces extends \phpbb\db\migration\migration
{
return array(
array('if', array(
- (preg_match('#^phpbb_#', $this->config['search_type'])),
+ (preg_match('#^phpbb_search_#', $this->config['search_type'])),
array('config.update', array('search_type', str_replace('phpbb_search_', 'phpbb\\search\\', $this->config['search_type']))),
)),
);