mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/15540] Method init
PHPBB3-15540
This commit is contained in:
@@ -155,7 +155,8 @@ class acp_search
|
||||
$search = $search_backend_factory->get($cfg_array['search_type']);
|
||||
if (confirm_box(true))
|
||||
{
|
||||
if (!method_exists($search, 'init') || !($error = $search->init()))
|
||||
// Initialize search backend, if $error is false means that everything is ok
|
||||
if (!($error = $search->init()))
|
||||
{
|
||||
$config->set('search_type', $cfg_array['search_type']);
|
||||
|
||||
|
Reference in New Issue
Block a user