mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 08:05:25 +02:00
[ticket/15540] Change method name with the new one
PHPBB3-15540
This commit is contained in:
parent
6ae68baa2e
commit
5ce6345fa7
@ -85,16 +85,13 @@ class acp_search
|
|||||||
if ($search->is_available())
|
if ($search->is_available())
|
||||||
{
|
{
|
||||||
$name = $search->get_name();
|
$name = $search->get_name();
|
||||||
|
|
||||||
$type = get_class($search);
|
$type = get_class($search);
|
||||||
|
|
||||||
$selected = ($config['search_type'] == $type) ? ' selected="selected"' : '';
|
$selected = ($config['search_type'] == $type) ? ' selected="selected"' : '';
|
||||||
$identifier = substr($type, strrpos($type, '\\') + 1);
|
$identifier = substr($type, strrpos($type, '\\') + 1);
|
||||||
$search_options .= "<option value=\"$type\"$selected data-toggle-setting=\"#search_{$identifier}_settings\">$name</option>";
|
$search_options .= "<option value=\"$type\"$selected data-toggle-setting=\"#search_{$identifier}_settings\">$name</option>";
|
||||||
|
|
||||||
if (method_exists($search, 'acp'))
|
$vars = $search->get_acp_options();
|
||||||
{
|
|
||||||
$vars = $search->acp();
|
|
||||||
|
|
||||||
if (!$submit)
|
if (!$submit)
|
||||||
{
|
{
|
||||||
@ -110,7 +107,6 @@ class acp_search
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
unset($search);
|
unset($search);
|
||||||
|
|
||||||
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => ''), true) : array();
|
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => ''), true) : array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user