mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/11700] Only replace phpbb_search in strings that match
PHPBB3-11700
This commit is contained in:
@@ -22,7 +22,7 @@ class namespaces extends \phpbb\db\migration\migration
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('if', 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']))),
|
array('config.update', array('search_type', str_replace('phpbb_search_', 'phpbb\\search\\', $this->config['search_type']))),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user