mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/16737] Fix test
PHPBB3-16737
This commit is contained in:
parent
cf8b797911
commit
9b838115c6
1 changed files with 3 additions and 2 deletions
|
@ -286,7 +286,7 @@ class acp_search
|
||||||
$action = $this->request->variable('action', '');
|
$action = $this->request->variable('action', '');
|
||||||
$state = !empty($this->config['search_indexing_state']) ? explode(',', $this->config['search_indexing_state']) : [];
|
$state = !empty($this->config['search_indexing_state']) ? explode(',', $this->config['search_indexing_state']) : [];
|
||||||
|
|
||||||
if($action)
|
if ($action)
|
||||||
{
|
{
|
||||||
switch ($action)
|
switch ($action)
|
||||||
{
|
{
|
||||||
|
@ -385,7 +385,8 @@ class acp_search
|
||||||
// Entering here for the first time
|
// Entering here for the first time
|
||||||
if (empty($state))
|
if (empty($state))
|
||||||
{
|
{
|
||||||
if ($this->request->is_set_post('search_type', '')) {
|
if ($this->request->is_set_post('search_type', ''))
|
||||||
|
{
|
||||||
$state = [
|
$state = [
|
||||||
self::STATE_SEARCH_TYPE => $this->request->variable('search_type', ''),
|
self::STATE_SEARCH_TYPE => $this->request->variable('search_type', ''),
|
||||||
self::STATE_ACTION => $action,
|
self::STATE_ACTION => $action,
|
||||||
|
|
Loading…
Add table
Reference in a new issue