1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 14:18:24 +01:00

[ticket/16737] Fix test

PHPBB3-16737
This commit is contained in:
rubencm 2021-03-25 03:54:29 +01:00
parent cf8b797911
commit 9b838115c6

View File

@ -286,7 +286,7 @@ class acp_search
$action = $this->request->variable('action', '');
$state = !empty($this->config['search_indexing_state']) ? explode(',', $this->config['search_indexing_state']) : [];
if($action)
if ($action)
{
switch ($action)
{
@ -385,7 +385,8 @@ class acp_search
// Entering here for the first time
if (empty($state))
{
if ($this->request->is_set_post('search_type', '')) {
if ($this->request->is_set_post('search_type', ''))
{
$state = [
self::STATE_SEARCH_TYPE => $this->request->variable('search_type', ''),
self::STATE_ACTION => $action,