mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
guess we need to initialise it first
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8405 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d6d2373582
commit
eaf97f2a67
1 changed files with 13 additions and 4 deletions
|
@ -183,16 +183,25 @@ class acp_search
|
|||
}
|
||||
}
|
||||
|
||||
if ($updated)
|
||||
$search = null;
|
||||
$error = false;
|
||||
if (!$this->init_search($config['search_type'], $search, $error))
|
||||
{
|
||||
if (method_exists($search, 'config_updated'))
|
||||
if ($updated)
|
||||
{
|
||||
if ($search->config_updated())
|
||||
if (method_exists($search, 'config_updated'))
|
||||
{
|
||||
trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
if ($search->config_updated())
|
||||
{
|
||||
trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
||||
trigger_error($user->lang['CONFIG_UPDATED'] . $extra_message . adm_back_link($this->u_action));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue