From 9373c0db9683dc0659545a28f904cc34c13d6be8 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Wed, 25 Sep 2013 14:40:12 +0200 Subject: [PATCH] [ticket/11700] Only replace phpbb_search in strings that match PHPBB3-11700 --- phpBB/phpbb/db/migration/data/v310/namespaces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']))), )), );