mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11700] Only replace phpbb_search in strings that match
PHPBB3-11700
This commit is contained in:
parent
3a478cb3e2
commit
9373c0db96
1 changed files with 1 additions and 1 deletions
|
@ -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']))),
|
||||
)),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue