From 9b838115c6618917a82521dc9776023b8a2040a1 Mon Sep 17 00:00:00 2001 From: rubencm Date: Thu, 25 Mar 2021 03:54:29 +0100 Subject: [PATCH] [ticket/16737] Fix test PHPBB3-16737 --- phpBB/includes/acp/acp_search.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php index a3a304bb62..b6832e6d1c 100644 --- a/phpBB/includes/acp/acp_search.php +++ b/phpBB/includes/acp/acp_search.php @@ -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,